development
Revision | c2860adcb8c8c84927bfe17fadd61b5beea61ae4 (tree) |
---|---|
Zeit | 2011-02-02 01:25:46 |
Autor | Nick Pelly <npelly@goog...> |
Commiter | Nick Pelly |
Update sample app for final GB MR API changes.
Change-Id: Ic6b7aa2ffe88f6a9228322d41a2be391eb5bf545
@@ -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"); |