Merge "Modify MANAGE_ACCESSIBILITY to accept roles" into udc-dev

This commit is contained in:
Sally Yuen
2023-05-10 18:10:44 +00:00
committed by Android (Google) Code Review

View File

@@ -7138,9 +7138,10 @@
android:protectionLevel="signature" /> android:protectionLevel="signature" />
<!-- @SystemApi Allows modifying accessibility state. <!-- @SystemApi Allows modifying accessibility state.
<p> The only approved role for this permission is COMPANION_DEVICE_APP_STREAMING.
@hide --> @hide -->
<permission android:name="android.permission.MANAGE_ACCESSIBILITY" <permission android:name="android.permission.MANAGE_ACCESSIBILITY"
android:protectionLevel="signature|setup|recents" /> android:protectionLevel="signature|setup|recents|role" />
<!-- @SystemApi Allows an app to grant a profile owner access to device identifiers. <!-- @SystemApi Allows an app to grant a profile owner access to device identifiers.
<p>Not for use by third-party applications. <p>Not for use by third-party applications.