Pregrant media access to CreativeAssistant
- Give READ_MEDIA_IMAGES to CreativeAssistant. - Since these is a protectionLevel=dangerous permission, adding them to privapp-permissions does not work (that is just for privileged|signature permissions). - I've tested that this change works, see https://screenshot.googleplex.com/746UujEb3ovc2Dg Bug: 308029155 Test: adb shell dumpsys package com.google.android.apps.pixel.creativeassistant | grep granted=true shows android.permission.READ_EXTERNAL_STORAGE: granted=true, flags=[ GRANTED_BY_DEFAULT|RESTRICTION_SYSTEM_EXEMPT|RESTRICTION_UPGRADE_EXEMPT] android.permission.READ_MEDIA_IMAGES: granted=true, flags=[ GRANTED_BY_DEFAULT] Change-Id: Ief9f862c580e839946242fcc323514e5f9e5a162
This commit is contained in:
parent
0c46083475
commit
9c4adf4b9a
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,9 @@
|
|||
|
||||
<exception package="com.google.android.apps.pixel.creativeassistant">
|
||||
<permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/>
|
||||
<permission name="android.permission.READ_MEDIA_IMAGES" fixed="false"/>
|
||||
<permission name="android.permission.READ_EXTERNAL_STORAGE" fixed="false"/>
|
||||
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"/>
|
||||
</exception>
|
||||
|
||||
<exception package="com.google.android.apps.cbrsnetworkmonitor">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue