Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e926962f authored by Yi Jiang's avatar Yi Jiang
Browse files

Adds protection level 'role' to SYSTEM_CAMERA permission

Bug: 187429135
Test: presubmit
Change-Id: I878ef19cef86c927033b22b7cb2619e6f9afb2da
parent e1d07010
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.