Merge "Adds protection level 'role' to SYSTEM_CAMERA permission" into sc-dev am: 4e46adb808
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14705677 Change-Id: Idb44223a003e5cce59e17301ed40927117dc234f
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user