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

Unverified Commit f7a43f36 authored by Michael Bestas's avatar Michael Bestas
Browse files

core: Update PREVENT_POWER_KEY permission for M

Change-Id: Iac053a317314fad08545c8dc411ad44f977b8f3e
parent 53ced068
Loading
Loading
Loading
Loading
+6 −9
Original line number Original line Diff line number Diff line
@@ -1382,15 +1382,6 @@
        android:description="@string/permdesc_transmitIr"
        android:description="@string/permdesc_transmitIr"
        android:protectionLevel="normal" />
        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   -->
    <!-- Permissions related to changing audio settings   -->
    <!-- ==================================================== -->
    <!-- ==================================================== -->
@@ -1480,6 +1471,12 @@
    <permission android:name="android.permission.NOTIFY_PENDING_SYSTEM_UPDATE"
    <permission android:name="android.permission.NOTIFY_PENDING_SYSTEM_UPDATE"
        android:protectionLevel="signature|privileged" />
        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 -->
    <!-- Permissions associated with camera and image capture -->
    <!-- =========================================== -->
    <!-- =========================================== -->
+0 −4
Original line number Original line Diff line number Diff line
@@ -20,8 +20,4 @@
    <!-- Long-press back kill application -->
    <!-- Long-press back kill application -->
    <string name="app_killed_message">Application killed</string>
    <string name="app_killed_message">Application killed</string>


    <!-- [CHAR LIMIT=NONE] Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
    <string name="permlab_preventpower">override power key</string>
    <!-- [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_preventpower">Allows an app to override the power key.</string>
</resources>
</resources>