DO NOT MERGE

Cherry-pick from GB to HC.

Update sample app for final GB MR API changes.

Change-Id: Iab3b879d1a53b70cbffd51011c77699325e21dad
This commit is contained in:
Nick Pelly
2011-02-01 08:25:46 -08:00
parent 75b7bb2521
commit f0f3e98f10

View File

@@ -37,7 +37,7 @@ public class TechFilter extends Activity {
Intent intent = getIntent(); Intent intent = getIntent();
String action = intent.getAction(); String action = intent.getAction();
if (NfcAdapter.ACTION_TECHNOLOGY_DISCOVERED.equals(action)) { if (NfcAdapter.ACTION_TECH_DISCOVERED.equals(action)) {
mText.setText("Discovered tag " + ++mCount + " with intent: " + intent); mText.setText("Discovered tag " + ++mCount + " with intent: " + intent);
} else { } else {
mText.setText("Scan a tag"); mText.setText("Scan a tag");