diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/nfc/Tag.java | 4 | ||||
-rw-r--r-- | core/java/android/nfc/tech/NfcBarcode.java | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/core/java/android/nfc/Tag.java b/core/java/android/nfc/Tag.java index f9b765c..f2cd232 100644 --- a/core/java/android/nfc/Tag.java +++ b/core/java/android/nfc/Tag.java @@ -24,6 +24,7 @@ import android.nfc.tech.Ndef; import android.nfc.tech.NdefFormatable; import android.nfc.tech.NfcA; import android.nfc.tech.NfcB; +import android.nfc.tech.NfcBarcode; import android.nfc.tech.NfcF; import android.nfc.tech.NfcV; import android.nfc.tech.TagTechnology; @@ -184,6 +185,9 @@ public final class Tag implements Parcelable { case TagTechnology.NFC_V: strings[i] = NfcV.class.getName(); break; + case TagTechnology.NFC_BARCODE: + strings[i] = NfcBarcode.class.getName(); + break; default: throw new IllegalArgumentException("Unknown tech type " + techList[i]); } diff --git a/core/java/android/nfc/tech/NfcBarcode.java b/core/java/android/nfc/tech/NfcBarcode.java index 099f07e..3149857 100644 --- a/core/java/android/nfc/tech/NfcBarcode.java +++ b/core/java/android/nfc/tech/NfcBarcode.java @@ -73,7 +73,7 @@ public final class NfcBarcode extends BasicTagTechnology { /** * Returns the NFC Barcode tag type. * - * <p>Currently only one of {@link #TYPE_KOVIO} or {@link TYPE_UNKNOWN}. + * <p>Currently only one of {@link #TYPE_KOVIO} or {@link #TYPE_UNKNOWN}. * * <p>Does not cause any RF activity and does not block. * |