gapps: Update privapp-permissions for T
Change-Id: I3ea5782c59c940d5a9dc9a4a8ac77a2b3c4d2bd4
diff --git a/etc/permissions/product/privapp-permissions-google-product.xml b/etc/permissions/product/privapp-permissions-google-product.xml
index ae5a341..02be696 100644
--- a/etc/permissions/product/privapp-permissions-google-product.xml
+++ b/etc/permissions/product/privapp-permissions-google-product.xml
@@ -25,6 +25,7 @@
<permission name="android.permission.INSTALL_PACKAGES"/>
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.LOADER_USAGE_STATS"/>
+ <permission name="android.permission.MANAGE_CLOUDSEARCH"/>
<permission name="android.permission.MANAGE_ROLLBACKS"/>
<permission name="android.permission.MANAGE_USERS"/>
<permission name="android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD"/>
@@ -35,6 +36,7 @@
<permission name="android.permission.REAL_GET_TASKS"/>
<permission name="android.permission.REBOOT"/>
<permission name="android.permission.SEND_DEVICE_CUSTOMIZATION_READY"/>
+ <permission name="android.permission.SEND_SAFETY_CENTER_UPDATE"/>
<permission name="android.permission.SEND_SMS_NO_CONFIRMATION"/>
<permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
<permission name="android.permission.STATUS_BAR"/>
@@ -80,12 +82,25 @@
<permission name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
+ <privapp-permissions package="com.google.android.apps.safetyhub">
+ <permission name="android.permission.ACCESS_CONTEXT_HUB"/>
+ <permission name="android.permission.CALL_PRIVILEGED"/>
+ <permission name="android.permission.CAPTURE_AUDIO_OUTPUT"/>
+ <permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
+ <permission name="android.permission.MANAGE_USERS"/>
+ <permission name="android.permission.MODIFY_PHONE_STATE"/>
+ <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
+ <permission name="android.permission.RECEIVE_EMERGENCY_BROADCAST"/>
+ <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
+ <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
+ </privapp-permissions>
<privapp-permissions package="com.google.android.apps.searchlite">
<permission name="android.permission.MEDIA_CONTENT_CONTROL"/>
</privapp-permissions>
<privapp-permissions package="com.google.android.apps.setupwizard.searchselector">
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.MANAGE_USERS"/>
+ <permission name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND"/>
</privapp-permissions>
<privapp-permissions package="com.google.android.apps.speechservices">
<permission name="android.permission.BIND_APPWIDGET"/>
@@ -108,6 +123,7 @@
<permission name="android.permission.BATTERY_STATS"/>
<permission name="android.permission.BRIGHTNESS_SLIDER_USAGE"/>
<permission name="android.permission.CHANGE_APP_IDLE_STATE"/>
+ <permission name="android.permission.CHANGE_APP_LAUNCH_TIME_ESTIMATE"/>
<permission name="android.permission.CONFIGURE_DISPLAY_BRIGHTNESS"/>
<permission name="android.permission.DUMP"/>
<permission name="android.permission.PACKAGE_USAGE_STATS"/>
@@ -122,6 +138,7 @@
<permission name="android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS"/>
<permission name="android.permission.CONTROL_DISPLAY_SATURATION"/>
<permission name="android.permission.INTERACT_ACROSS_PROFILES"/>
+ <permission name="android.permission.MODIFY_DAY_NIGHT_MODE"/>
<permission name="android.permission.MODIFY_PHONE_STATE"/>
<permission name="android.permission.MODIFY_QUIET_MODE"/>
<permission name="android.permission.OBSERVE_APP_USAGE"/>
@@ -130,12 +147,29 @@
<permission name="android.permission.READ_WALLPAPER_INTERNAL"/>
<permission name="android.permission.REAL_GET_TASKS"/>
<permission name="android.permission.SET_WALLPAPER_COMPONENT"/>
+ <permission name="android.permission.SET_WALLPAPER_DIM_AMOUNT"/>
<permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
<permission name="android.permission.START_TASKS_FROM_RECENTS"/>
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
<permission name="android.permission.WRITE_DREAM_STATE"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
+ <privapp-permissions package="com.google.android.as">
+ <permission name="android.permission.CAPTURE_AUDIO_OUTPUT"/>
+ <permission name="android.permission.CAPTURE_MEDIA_OUTPUT"/>
+ <permission name="android.permission.CAPTURE_VOICE_COMMUNICATION_OUTPUT"/>
+ <permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
+ <permission name="android.permission.MANAGE_APP_PREDICTIONS"/>
+ <permission name="android.permission.MODIFY_AUDIO_ROUTING"/>
+ <permission name="android.permission.MODIFY_PHONE_STATE"/>
+ <permission name="android.permission.PACKAGE_USAGE_STATS"/>
+ <permission name="android.permission.READ_OEM_UNLOCK_STATE"/>
+ <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
+ <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
+ <permission name="android.permission.SYSTEM_CAMERA"/>
+ <permission name="android.permission.UPDATE_DEVICE_STATS"/>
+ <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
+ </privapp-permissions>
<privapp-permissions package="com.google.android.calendar">
<permission name="android.permission.INTERACT_ACROSS_PROFILES"/>
</privapp-permissions>
@@ -145,14 +179,13 @@
<privapp-permissions package="com.google.android.contacts">
<permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
</privapp-permissions>
- <privapp-permissions package="com.google.android.feedback">
- <permission name="android.permission.PACKAGE_USAGE_STATS"/>
- <permission name="android.permission.READ_LOGS"/>
- </privapp-permissions>
<privapp-permissions package="com.google.android.gms">
+ <permission name="android.permission.ACCESS_BROADCAST_RESPONSE_STATS"/>
<permission name="android.permission.ACCESS_CACHE_FILESYSTEM"/>
<permission name="android.permission.ACCESS_CONTEXT_HUB"/>
+ <permission name="android.permission.ACCESS_FPS_COUNTER"/>
<permission name="android.permission.ACCESS_NETWORK_CONDITIONS"/>
+ <permission name="android.permission.ACCESS_VIBRATOR_STATE"/>
<permission name="android.permission.ACTIVITY_EMBEDDING"/>
<permission name="android.permission.ALLOCATE_AGGRESSIVE"/>
<permission name="android.permission.BACKUP"/>
@@ -177,9 +210,12 @@
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.INVOKE_CARRIER_SETUP"/>
<permission name="android.permission.LOCAL_MAC_ADDRESS"/>
+ <permission name="android.permission.LOCATION_BYPASS"/>
<permission name="android.permission.LOCATION_HARDWARE"/>
<permission name="android.permission.LOCK_DEVICE"/>
<permission name="android.permission.MANAGE_FACTORY_RESET_PROTECTION"/>
+ <permission name="android.permission.MANAGE_GAME_ACTIVITY"/>
+ <permission name="android.permission.MANAGE_GAME_MODE"/>
<permission name="android.permission.MANAGE_ROLLBACKS"/>
<permission name="android.permission.MANAGE_SOUND_TRIGGER"/>
<permission name="android.permission.MANAGE_SUBSCRIPTION_PLANS"/>
@@ -187,7 +223,10 @@
<permission name="android.permission.MANAGE_USB"/>
<permission name="android.permission.MANAGE_USERS"/>
<permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
+ <permission name="android.permission.MANAGE_WIFI_AUTO_JOIN"/>
+ <permission name="android.permission.MANAGE_WIFI_NETWORK_SELECTION"/>
<permission name="android.permission.MASTER_CLEAR"/>
+ <permission name="android.permission.MEDIA_CONTENT_CONTROL"/>
<permission name="android.permission.MODIFY_AUDIO_ROUTING"/>
<permission name="android.permission.MODIFY_DAY_NIGHT_MODE"/>
<permission name="android.permission.MODIFY_NETWORK_ACCOUNTING"/>
@@ -212,9 +251,12 @@
<permission name="android.permission.RECOVER_KEYSTORE"/>
<permission name="android.permission.REMOTE_DISPLAY_PROVIDER"/>
<permission name="android.permission.RENOUNCE_PERMISSIONS"/>
+ <permission name="android.permission.REQUEST_COMPANION_PROFILE_COMPUTER"/>
+ <permission name="android.permission.REQUEST_COMPANION_SELF_MANAGED"/>
<permission name="android.permission.RESET_PASSWORD"/>
<permission name="android.permission.SCHEDULE_PRIORITIZED_ALARM"/>
<permission name="android.permission.SCORE_NETWORKS"/>
+ <permission name="android.permission.SEND_SAFETY_CENTER_UPDATE"/>
<permission name="android.permission.SEND_SMS_NO_CONFIRMATION"/>
<permission name="android.permission.SET_TIME"/>
<permission name="android.permission.SET_TIME_ZONE"/>
@@ -231,7 +273,32 @@
<permission name="android.permission.UWB_PRIVILEGED"/>
<permission name="android.permission.WRITE_GSERVICES"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
- <permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
+ </privapp-permissions>
+ <privapp-permissions package="com.google.android.gms.supervision">
+ <permission name="android.permission.ACCESS_NETWORK_CONDITIONS"/>
+ <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
+ <permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"/>
+ <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
+ <permission name="android.permission.GET_APP_OPS_STATS"/>
+ <permission name="android.permission.INTERACT_ACROSS_USERS"/>
+ <permission name="android.permission.MANAGE_DEVICE_ADMINS"/>
+ <permission name="android.permission.MANAGE_FACTORY_RESET_PROTECTION"/>
+ <permission name="android.permission.MANAGE_TIME_AND_ZONE_DETECTION"/>
+ <permission name="android.permission.MANAGE_USERS"/>
+ <permission name="android.permission.MASTER_CLEAR"/>
+ <permission name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS"/>
+ <permission name="android.permission.PACKAGE_USAGE_STATS"/>
+ <permission name="android.permission.READ_DREAM_STATE"/>
+ <permission name="android.permission.RESET_PASSWORD"/>
+ <permission name="android.permission.SCHEDULE_EXACT_ALARM"/>
+ <permission name="android.permission.SET_TIME"/>
+ <permission name="android.permission.SET_TIME_ZONE"/>
+ <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
+ <permission name="android.permission.STATUS_BAR"/>
+ <permission name="android.permission.SYSTEM_ALERT_WINDOW"/>
+ <permission name="android.permission.USER_ACTIVITY"/>
+ <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
+ <permission name="android.permission.WRITE_SYNC_SETTINGS"/>
</privapp-permissions>
<privapp-permissions package="com.google.android.googlequicksearchbox">
<permission name="android.permission.BIND_APPWIDGET"/>
@@ -289,8 +356,8 @@
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
</privapp-permissions>
<privapp-permissions package="com.google.android.projection.gearhead">
+ <permission name="android.permission.ACTIVITY_EMBEDDING"/>
<permission name="android.permission.BLUETOOTH_PRIVILEGED"/>
- <permission name="android.permission.BIND_DIRECTORY_SEARCH"/>
<permission name="android.permission.CALL_PRIVILEGED"/>
<permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
<permission name="android.permission.COMPANION_APPROVE_WIFI_CONNECTIONS"/>
@@ -303,13 +370,10 @@
<permission name="android.permission.MODIFY_AUDIO_ROUTING"/>
<permission name="android.permission.MODIFY_DAY_NIGHT_MODE"/>
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
+ <permission name="android.permission.REQUEST_COMPANION_SELF_MANAGED"/>
<permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
- <permission name="android.permission.TOGGLE_AUTOMOTIVE_PROJECTION"/>
<permission name="android.permission.UPDATE_APP_OPS_STATS"/>
</privapp-permissions>
- <privapp-permissions package="com.google.android.syncadapters.contacts">
- <permission name="android.permission.INTERACT_ACROSS_USERS"/>
- </privapp-permissions>
<privapp-permissions package="com.google.android.tts">
<permission name="android.permission.UPDATE_APP_OPS_STATS"/>
</privapp-permissions>
diff --git a/etc/permissions/system_ext/privapp-permissions-google-system-ext.xml b/etc/permissions/system_ext/privapp-permissions-google-system-ext.xml
index 5f8e702..a46cb6c 100644
--- a/etc/permissions/system_ext/privapp-permissions-google-system-ext.xml
+++ b/etc/permissions/system_ext/privapp-permissions-google-system-ext.xml
@@ -4,9 +4,17 @@
privileged Google applications in GMS devices.
-->
<permissions>
+ <privapp-permissions package="com.android.emergency">
+ <permission name="android.permission.CALL_PRIVILEGED"/>
+ <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
+ <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
+ <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
+ </privapp-permissions>
+
<privapp-permissions package="com.google.android.feedback">
- <permission name="android.permission.READ_LOGS"/>
<permission name="android.permission.PACKAGE_USAGE_STATS"/>
+ <permission name="android.permission.READ_LOGS"/>
+ <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
</privapp-permissions>
<privapp-permissions package="com.google.android.gsf">
@@ -55,6 +63,7 @@
<permission name="android.permission.OVERRIDE_WIFI_CONFIG"/>
<permission name="android.permission.PERFORM_CDMA_PROVISIONING"/>
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
+ <permission name="android.permission.READ_WIFI_CREDENTIAL"/>
<permission name="android.permission.REBOOT"/>
<permission name="android.permission.REQUEST_NETWORK_SCORES"/>
<permission name="android.permission.SET_TIME"/>