Skip to content

Commit 6c65344

Browse files
author
Martijn Coenen
committed
Fix permission documentation.
It was incorrect in one case. Also removed obsolete interface method. Change-Id: I211fb57e3504e06ff09cf31857c89e2b0e93d679
1 parent a032783 commit 6c65344

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

core/java/android/nfc/INfcTag.aidl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ interface INfcTag
2929
int connect(int nativeHandle, int technology);
3030
int reconnect(int nativeHandle);
3131
int[] getTechList(int nativeHandle);
32-
byte[] getUid(int nativeHandle);
3332
boolean isNdef(int nativeHandle);
3433
boolean isPresent(int nativeHandle);
3534
TransceiveResult transceive(int nativeHandle, in byte[] data, boolean raw);

core/java/android/nfc/tech/Ndef.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ public boolean isWritable() {
256256
* not be called from the main application thread. A blocked call will be canceled with
257257
* {@link IOException} if {@link #close} is called from another thread.
258258
*
259+
* <p class="note">Requires the {@link android.Manifest.permission#NFC} permission.
260+
*
259261
* @return the NDEF Message, can be null
260262
* @throws TagLostException if the tag leaves the field
261263
* @throws IOException if there is an I/O failure, or the operation is canceled

0 commit comments

Comments
 (0)