Related Deprecations That Might Affect You
StorageVolume.createAccessIntent()
is deprecated. More importantly, it will fail fast. This was used to request access to one of the Environment
public directories, as an alternative to needing READ_EXTERNAL_STORAGE
and therefore getting access to the entire external storage area. It would appear that the scoped storage feature not only replaces this but is incompatible with this. So, if you are using createAccessIntent()
, you will need to add code to take a new approach on Android 10 and higher devices.
Prev Table of Contents Next
This book is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license.