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

Commit b3a729de authored by Michael Bestas's avatar Michael Bestas Committed by Steve Kondik
Browse files

core: Update PREVENT_POWER_KEY permission for M

Change-Id: Iac053a317314fad08545c8dc411ad44f977b8f3e
parent acf0801a
Loading
Loading
Loading
Loading
+6 −9
Original line number Diff line number Diff line
@@ -1146,15 +1146,6 @@
        android:description="@string/permdesc_transmitIr"
        android:protectionLevel="normal" />

    <!-- Allows an application to override the power key action
        @hide -->
    <permission android:name="android.permission.PREVENT_POWER_KEY"
        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
        android:protectionLevel="signatureOrSystem"
        android:label="@string/permlab_preventpower"
        android:description="@string/permdesc_preventpower" />


    <!-- ==================================================== -->
    <!-- Permissions related to changing audio settings   -->
    <!-- ==================================================== -->
@@ -1239,6 +1230,12 @@
    <permission android:name="android.permission.NOTIFY_PENDING_SYSTEM_UPDATE"
        android:protectionLevel="signature|privileged" />

    <!-- Allows an application to override the power key action
         @hide <p>Not for use by third-party applications.
    -->
    <permission android:name="android.permission.PREVENT_POWER_KEY"
        android:protectionLevel="signature|privileged" />

    <!-- =========================================== -->
    <!-- Permissions associated with camera and image capture -->
    <!-- =========================================== -->
+0 −4
Original line number Diff line number Diff line
@@ -45,10 +45,6 @@
    <!-- [CHAR LIMIT=NONE] Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
    <string name="permdesc_changePhoneBlacklist">Allows an app to change the phone numbers that are blocked for incoming calls or messages.</string>

    <string name="permlab_preventpower">override power key</string>
    <!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
    <string name="permdesc_preventpower">Allows an app to override the power key.</string>

    <!-- label for item that opens the profile choosing dialog -->
    <string name="global_action_choose_profile">Profile</string>