Skip to content

Commit f853859

Browse files
Martijn CoenenJean-Baptiste Queru
authored andcommitted
Fix build.
Bug: 7222958 Change-Id: I2f9ff988f09be6cd4be49bfb90750a46e63c2c14
1 parent 1b24275 commit f853859

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

core/java/android/nfc/Tag.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import android.nfc.tech.NdefFormatable;
2525
import android.nfc.tech.NfcA;
2626
import android.nfc.tech.NfcB;
27+
import android.nfc.tech.NfcBarcode;
2728
import android.nfc.tech.NfcF;
2829
import android.nfc.tech.NfcV;
2930
import android.nfc.tech.TagTechnology;
@@ -184,6 +185,9 @@ private String[] generateTechStringList(int[] techList) {
184185
case TagTechnology.NFC_V:
185186
strings[i] = NfcV.class.getName();
186187
break;
188+
case TagTechnology.NFC_BARCODE:
189+
strings[i] = NfcBarcode.class.getName();
190+
break;
187191
default:
188192
throw new IllegalArgumentException("Unknown tech type " + techList[i]);
189193
}

core/java/android/nfc/tech/NfcBarcode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public NfcBarcode(Tag tag) throws RemoteException {
7373
/**
7474
* Returns the NFC Barcode tag type.
7575
*
76-
* <p>Currently only one of {@link #TYPE_KOVIO} or {@link TYPE_UNKNOWN}.
76+
* <p>Currently only one of {@link #TYPE_KOVIO} or {@link #TYPE_UNKNOWN}.
7777
*
7878
* <p>Does not cause any RF activity and does not block.
7979
*

0 commit comments

Comments
 (0)