OSDN Git Service

Fix up NFC permissions.
authorNick Pelly <npelly@google.com>
Mon, 18 Oct 2010 02:05:47 +0000 (19:05 -0700)
committerNick Pelly <npelly@google.com>
Mon, 18 Oct 2010 17:04:40 +0000 (10:04 -0700)
commite47150e933e6f610546f57183477f324566e521e
tree5a415c5b9fdae883bf4dc507c516dd52ce20db67
parentd1f7f4a68375f879671d300510f23d3ee78a500e
Fix up NFC permissions.

The initial (vendor) implementation had 4 perms, replace with 1.

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: I1b585c7d91738bed6261277061a48cf7c939482a
Signed-off-by: Nick Pelly <npelly@google.com>
api/current.xml
core/java/android/nfc/NdefTagConnection.java
core/java/android/nfc/NfcAdapter.java
core/java/android/nfc/RawTagConnection.java
core/res/AndroidManifest.xml
core/res/res/values/strings.xml