summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2010-10-17 20:04:53 -0700
committerNick Pelly <npelly@google.com>2010-10-17 20:04:53 -0700
commitbebaa6cc1a1eb2ce0656e17b0e09ed4747878d8e (patch)
treeadb7f61abbda4a324c1b668da3bb626fc6f36b29 /AndroidManifest.xml
parent732a4e2900f6592920bed25b52440620d60e6668 (diff)
downloadpackages_apps_nfc-bebaa6cc1a1eb2ce0656e17b0e09ed4747878d8e.zip
packages_apps_nfc-bebaa6cc1a1eb2ce0656e17b0e09ed4747878d8e.tar.gz
packages_apps_nfc-bebaa6cc1a1eb2ce0656e17b0e09ed4747878d8e.tar.bz2
Enforce NFC permission model.
Requires no permissions: - Viewing UID, type of discovered tags and cards. - Viewing the NDEF message contents of NDEF formatted tags and cards. Requires android.permission.NFC - Get/Set the local tag "MyTag" - Creating or using a RawTagConnection (transceive()) - Creating or using a NdefTagConnection (write()/read()) Change-Id: I31f2336a81a7151063969f9019da9aaf08092d65 Signed-off-by: Nick Pelly <npelly@google.com>
Diffstat (limited to 'AndroidManifest.xml')
-rwxr-xr-xAndroidManifest.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 9c4d969..6911be7 100755
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -4,12 +4,10 @@
android:sharedUserId="android.uid.nfc"
android:sharedUserLabel="@string/nfcUserLabel"
>
- <uses-permission android:name="android.permission.NFC_ADMIN" />
- <uses-permission android:name="android.permission.NFC_RAW" />
- <uses-permission android:name="android.permission.NFC_NOTIFY" />
- <uses-permission android:name="android.permission.NFC_LLCP" />
+ <uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
+ <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
<application android:icon="@drawable/icon"
android:label="@string/app_name"