development
修订版 | 52e42d3f85ef3f7081e08c42528a2c3a76376c86 (tree) |
---|---|
时间 | 2011-02-02 03:22:12 |
作者 | Nick Pelly <npelly@goog...> |
Commiter | Android Git Automerger |
am ba29b9b1: am c2860adc: Update sample app for final GB MR API changes.
* commit 'ba29b9b17769995d7fba7dea09934d2e11bf5ffb':
@@ -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"); |