commit | c2860adcb8c8c84927bfe17fadd61b5beea61ae4 | [log] [tgz] |
---|---|---|
author | Nick Pelly <npelly@google.com> | Tue Feb 01 08:25:46 2011 -0800 |
committer | Nick Pelly <npelly@google.com> | Tue Feb 01 08:25:46 2011 -0800 |
tree | 2054aa01509e42b52003aac23c6c0c2573f43e00 | |
parent | 1adaa57108517bc4ea45c9fe4881390f056354d8 [diff] |
Update sample app for final GB MR API changes. Change-Id: Ic6b7aa2ffe88f6a9228322d41a2be391eb5bf545
diff --git a/samples/ApiDemos/src/com/example/android/apis/nfc/TechFilter.java b/samples/ApiDemos/src/com/example/android/apis/nfc/TechFilter.java index 4042a81..10784c2 100644 --- a/samples/ApiDemos/src/com/example/android/apis/nfc/TechFilter.java +++ b/samples/ApiDemos/src/com/example/android/apis/nfc/TechFilter.java
@@ -37,7 +37,7 @@ Intent intent = getIntent(); 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); } else { mText.setText("Scan a tag");