Apps using storage must have runtime permission.
A major goal of the Q release is to promote user transparency around permission usage, and to also give user controls over those permissions. To further this goal, all apps requesting the internal WRITE_MEDIA_STORAGE permission must also request (and be granted) the "Storage" runtime permission in order to gain the associated access. If the user revokes the "Storage" runtime permission, then the app must lose all access granted to it via WRITE_MEDIA_STORAGE. Bug: 129144016 Test: atest android.permission.cts.ProviderPermissionTest#testWriteMediaStorage Change-Id: I7e747de0107cf9364a0ff2401686906340d31995
Loading
Please register or sign in to comment