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

Commit 685b9065 authored by Koushik Dutta's avatar Koushik Dutta Committed by Ricardo Cerqueira
Browse files

Add permission that allows cancelling notifications from other apps.

Change-Id: I055b17873e174f71174898a7649b1e221fd8c436
parent bb0a5bf3
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2206,6 +2206,15 @@
        android:description="@string/permdesc_broadcastPackageRemoved"
        android:protectionLevel="signature" />

    <!-- Allows an application to cancel notifications from other apps
         -->
    <permission android:name="android.permission.CANCEL_NOTIFICATIONS"
        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
        android:protectionLevel="signature|system"
        android:label="@string/permlab_cancelNotifications"
        android:description="@string/permdesc_cancelNotifications" />


    <!-- Allows an application to broadcast an SMS receipt notification.
    <p>Not for use by third-party applications. -->
    <permission android:name="android.permission.BROADCAST_SMS"
+6 −0
Original line number Diff line number Diff line
@@ -178,4 +178,10 @@

    <!-- The item label for the no profile selection item. -->
    <string name="profile_none">None</string>

    <!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
    <string name="permlab_cancelNotifications">cancel application notifications</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_cancelNotifications">Allows the app to cancel notifications created by other apps.</string>

</resources>