development
修订版 | f0f3e98f10846f805657daa69e8d21e5b5717a9f (tree) |
---|---|
时间 | 2011-02-02 04:16:06 |
作者 | Nick Pelly <npelly@goog...> |
Commiter | Nick Pelly |
DO NOT MERGE
Cherry-pick from GB to HC.
Update sample app for final GB MR API changes.
Change-Id: Iab3b879d1a53b70cbffd51011c77699325e21dad
@@ -37,7 +37,7 @@ public class TechFilter extends Activity { | ||
37 | 37 | |
38 | 38 | Intent intent = getIntent(); |
39 | 39 | String action = intent.getAction(); |
40 | - if (NfcAdapter.ACTION_TECHNOLOGY_DISCOVERED.equals(action)) { | |
40 | + if (NfcAdapter.ACTION_TECH_DISCOVERED.equals(action)) { | |
41 | 41 | mText.setText("Discovered tag " + ++mCount + " with intent: " + intent); |
42 | 42 | } else { |
43 | 43 | mText.setText("Scan a tag"); |