Merge "Fix permission documentation."

This commit is contained in:
Martijn Coenen
2012-03-30 09:43:44 -07:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 1 deletions

View File

@@ -29,7 +29,6 @@ interface INfcTag
int connect(int nativeHandle, int technology);
int reconnect(int nativeHandle);
int[] getTechList(int nativeHandle);
byte[] getUid(int nativeHandle);
boolean isNdef(int nativeHandle);
boolean isPresent(int nativeHandle);
TransceiveResult transceive(int nativeHandle, in byte[] data, boolean raw);

View File

@@ -256,6 +256,8 @@ public final class Ndef extends BasicTagTechnology {
* not be called from the main application thread. A blocked call will be canceled with
* {@link IOException} if {@link #close} is called from another thread.
*
* <p class="note">Requires the {@link android.Manifest.permission#NFC} permission.
*
* @return the NDEF Message, can be null
* @throws TagLostException if the tag leaves the field
* @throws IOException if there is an I/O failure, or the operation is canceled