Starting from Android 11, there are 2 levels of file access permission, i.e., "files, media, and everything" permission and "media only" permission.
What is the difference between the two, and what is excluded from the "media only" permission?
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.
Sign up to join this communityStarting from Android 11, there are 2 levels of file access permission, i.e., "files, media, and everything" permission and "media only" permission.
What is the difference between the two, and what is excluded from the "media only" permission?
Let's try to answer this question, may be with the combined experience of the community we can verify if the following is correct:
According to media store documentation there are four different media categories:
- Images, including photographs and screenshots, which are stored in the
DCIM/
andPictures/
directories. The system adds these files to the MediaStore.Images table.- Videos, which are stored in the
DCIM/
,Movies/
, andPictures/
directories.- Audio files, which are stored in the
Alarms/
,Audiobooks/
,Music/
,Notifications/
,Podcasts/
, andRingtones/
directories. Additionally, the system recognizes audio playlists that are in theMusic/
orMovies/
directories, as well as voice recordings that are in theRecordings/
directory.- Downloaded files, which are stored in the
Download/
directory.
To my understanding the first three media types should be included in "media only" category. Not sure about the Downloade files type.