Fix build.

Bug: 7222958
Change-Id: I2f9ff988f09be6cd4be49bfb90750a46e63c2c14
This commit is contained in:
Martijn Coenen
2012-09-24 16:38:57 -07:00
committed by Jean-Baptiste Queru
parent 1b24275976
commit f8538594fe
2 changed files with 5 additions and 1 deletions

View File

@@ -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]);
}

View File

@@ -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.
*