diff options
| -rw-r--r-- | PermissionController/res/xml/roles.xml | 1 | ||||
| -rw-r--r-- | tests/cts/permissionpolicy/res/raw/android_manifest.xml | 7 |
2 files changed, 2 insertions, 6 deletions
diff --git a/PermissionController/res/xml/roles.xml b/PermissionController/res/xml/roles.xml index d1e7d4865..f69ad9b85 100644 --- a/PermissionController/res/xml/roles.xml +++ b/PermissionController/res/xml/roles.xml @@ -1131,7 +1131,6 @@ <permission name="android.permission.MANAGE_SENSOR_PRIVACY" /> <permission name="android.permission.OBSERVE_SENSOR_PRIVACY" /> <permission name="android.permission.ACCESS_AMBIENT_CONTEXT_EVENT" minSdkVersion="33"/> - <permission name="android.permission.MANAGE_MEDIA_PROJECTION" minSdkVersion="35"/> <!-- If this role holder has a NotificationListenerService, let that service receive notifications with sensitive content unredacted--> <permission name="android.permission.RECEIVE_SENSITIVE_NOTIFICATIONS" minSdkVersion="35"/> diff --git a/tests/cts/permissionpolicy/res/raw/android_manifest.xml b/tests/cts/permissionpolicy/res/raw/android_manifest.xml index 90fa2fc96..c0af5a217 100644 --- a/tests/cts/permissionpolicy/res/raw/android_manifest.xml +++ b/tests/cts/permissionpolicy/res/raw/android_manifest.xml @@ -6735,13 +6735,10 @@ <permission android:name="android.permission.ACCESS_DRM_CERTIFICATES" android:protectionLevel="signature|privileged" /> - <!-- Allows an application to manage media projection sessions, by showing the permission dialog - to the user and creating a new token for each capture session. - @FlaggedApi("com.android.media.flags.limit_manage_media_projection") - @SystemApi Only granted to apps holding role SYSTEM_UI. + <!-- Api Allows an application to manage media projection sessions. @hide This is not a third-party API (intended for system apps). --> <permission android:name="android.permission.MANAGE_MEDIA_PROJECTION" - android:protectionLevel="internal|role" /> + android:protectionLevel="signature" /> <!-- @SystemApi Allows an application to read install sessions @hide This is not a third-party API (intended for system apps). --> |