Adds protection level 'role' to SYSTEM_CAMERA permission

Bug: 187429135
Test: presubmit
Change-Id: I878ef19cef86c927033b22b7cb2619e6f9afb2da
This commit is contained in:
Yi Jiang
2021-05-24 13:13:31 -07:00
parent e1d0701069
commit e926962f5f

View File

@@ -1408,13 +1408,13 @@
<!-- @SystemApi Required in addition to android.permission.CAMERA to be able to access
system only camera devices.
<p>Protection level: system|signature
<p>Protection level: system|signature|role
@hide -->
<permission android:name="android.permission.SYSTEM_CAMERA"
android:permissionGroup="android.permission-group.UNDEFINED"
android:label="@string/permlab_systemCamera"
android:description="@string/permdesc_systemCamera"
android:protectionLevel="system|signature" />
android:protectionLevel="system|signature|role" />
<!-- @SystemApi Allows receiving the camera service notifications when a camera is opened
(by a certain application package) or closed.