[go: nahoru, domu]

Added GET_BACKGROUND_INSTALLED_PACKAGES to SYSTEM_APP_PROTECTION_SERVICE role.

As discussed with zhanghai@ we will add the permission to the role and
handle manifest-flagging if needed when it lands.

For more info: go/bic-v

Test: m
Bug: 296060433
Change-Id: I25c0f10c23fb02c3f7db7273ab9bd5fa1a0c618e
diff --git a/PermissionController/res/xml/roles.xml b/PermissionController/res/xml/roles.xml
index f09056f..c160c4e 100644
--- a/PermissionController/res/xml/roles.xml
+++ b/PermissionController/res/xml/roles.xml
@@ -1363,6 +1363,7 @@
         <permissions>
             <permission-set name="notifications" />
             <permission name="android.permission.GET_HISTORICAL_APP_OPS_STATS" />
+            <permission name="android.permission.GET_BACKGROUND_INSTALLED_PACKAGES" minSdkVersion="35" />
         </permissions>
     </role>