mirror of
https://github.com/Evolution-X-Devices/device_google_zumapro
synced 2026-02-01 07:42:11 +00:00
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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user