Merge "Adds protection level 'role' to SYSTEM_CAMERA permission" into sc-dev
This commit is contained in:
@@ -1408,13 +1408,13 @@
|
|||||||
|
|
||||||
<!-- @SystemApi Required in addition to android.permission.CAMERA to be able to access
|
<!-- @SystemApi Required in addition to android.permission.CAMERA to be able to access
|
||||||
system only camera devices.
|
system only camera devices.
|
||||||
<p>Protection level: system|signature
|
<p>Protection level: system|signature|role
|
||||||
@hide -->
|
@hide -->
|
||||||
<permission android:name="android.permission.SYSTEM_CAMERA"
|
<permission android:name="android.permission.SYSTEM_CAMERA"
|
||||||
android:permissionGroup="android.permission-group.UNDEFINED"
|
android:permissionGroup="android.permission-group.UNDEFINED"
|
||||||
android:label="@string/permlab_systemCamera"
|
android:label="@string/permlab_systemCamera"
|
||||||
android:description="@string/permdesc_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
|
<!-- @SystemApi Allows receiving the camera service notifications when a camera is opened
|
||||||
(by a certain application package) or closed.
|
(by a certain application package) or closed.
|
||||||
|
|||||||
Reference in New Issue
Block a user