Skip to content

Commit 5eeee5e

Browse files
Martijn CoenenAndroid (Google) Code Review
authored andcommitted
Merge "Fix permission documentation."
2 parents 75f6ad6 + 6c65344 commit 5eeee5e

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)