From f0f3e98f10846f805657daa69e8d21e5b5717a9f Mon Sep 17 00:00:00 2001 From: Nick Pelly Date: Tue, 1 Feb 2011 08:25:46 -0800 Subject: [PATCH] DO NOT MERGE Cherry-pick from GB to HC. Update sample app for final GB MR API changes. Change-Id: Iab3b879d1a53b70cbffd51011c77699325e21dad --- .../ApiDemos/src/com/example/android/apis/nfc/TechFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 4042a810f..10784c20a 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 @@ public class TechFilter extends Activity { 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");