Android 11 (API level 30) further enhances the platform, giving better protection to app and user data on external storage. This release introduces several enhancements, such as raw file path access, batch edit operations for media, and an updated UI for the Storage Access Framework.
Maintain compatibility with Android 10
If your app opts out of scoped storage when running on Android 10 devices, it’s recommended that you continue to set
true in your app’s manifest file. That way, your app can continue to behave as expected on devices that run Android 10.