diff options
author | Anton Hansson <hansson@google.com> | 2023-10-03 14:17:39 +0000 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2023-10-03 14:17:39 +0000 |
commit | 9ba14dd645671b759ea670de6c9964ff14adb690 (patch) | |
tree | 63bf5e09113d8edb56fde52056ab0c5fdf4ba9c7 | |
parent | 4948cfd5f0da476eb2e6d861789d67a25de8b48b (diff) | |
download | base-9ba14dd645671b759ea670de6c9964ff14adb690.tar.gz |
Fix broken documentation in NfcAdapter
Methods were @removed, but there were still non-removed javadoc
referencing those methods. Swap those references to @code, or remove.
Bug: 303184203
Test: m docs
Change-Id: I7696d60832e54a522a5c0a5262c6b09f7946b118
-rw-r--r-- | core/java/android/nfc/NfcAdapter.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/java/android/nfc/NfcAdapter.java b/core/java/android/nfc/NfcAdapter.java index a9eb672c4e4d..1307dfc2665e 100644 --- a/core/java/android/nfc/NfcAdapter.java +++ b/core/java/android/nfc/NfcAdapter.java @@ -484,7 +484,6 @@ public final class NfcAdapter { /** * A callback to be invoked when the system successfully delivers your {@link NdefMessage} * to another device. - * @see #setOnNdefPushCompleteCallback * @deprecated this feature is removed. File sharing can work using other technology like * Bluetooth. */ @@ -496,7 +495,6 @@ public final class NfcAdapter { * <p>This callback is usually made on a binder thread (not the UI thread). * * @param event {@link NfcEvent} with the {@link NfcEvent#nfcAdapter} field set - * @see #setNdefPushMessageCallback */ public void onNdefPushComplete(NfcEvent event); } @@ -504,11 +502,11 @@ public final class NfcAdapter { /** * A callback to be invoked when another NFC device capable of NDEF push (Android Beam) * is within range. - * <p>Implement this interface and pass it to {@link + * <p>Implement this interface and pass it to {@code * NfcAdapter#setNdefPushMessageCallback setNdefPushMessageCallback()} in order to create an * {@link NdefMessage} at the moment that another device is within range for NFC. Using this * callback allows you to create a message with data that might vary based on the - * content currently visible to the user. Alternatively, you can call {@link + * content currently visible to the user. Alternatively, you can call {@code * #setNdefPushMessage setNdefPushMessage()} if the {@link NdefMessage} always contains the * same data. * @deprecated this feature is removed. File sharing can work using other technology like |