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 --test-mapping packages/providers/MediaProvider Change-Id: I0e685136d2b823e618bbc85cc79e656c9d4aad38
Loading
Please register or sign in to comment