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

Commit 1213487a authored by Rubin Xu's avatar Rubin Xu
Browse files

New internal permission to protect apps against rogue Nfc message.

Bug: 19838376
Change-Id: Id23f6d14ce8d93988e4382ea0d0dc5c586456bf7
parent 9a08fe2a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2421,6 +2421,13 @@
    <permission android:name="android.permission.LOCAL_MAC_ADDRESS"
                android:protectionLevel="signatureOrSystem" />

    <!-- Allows the Nfc stack to dispatch Nfc messages to applications. Applications
        can use this permission to ensure incoming Nfc messages are from the Nfc stack
        and not simulated by another application.
        @hide -->
    <permission android:name="android.permission.DISPATCH_NFC_MESSAGE"
                android:protectionLevel="signatureOrSystem" />

    <!-- The system process is explicitly the only one allowed to launch the
         confirmation UI for full backup/restore -->
    <uses-permission android:name="android.permission.CONFIRM_FULL_BACKUP"/>