• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

development


Commit MetaInfo

修订版f0f3e98f10846f805657daa69e8d21e5b5717a9f (tree)
时间2011-02-02 04:16:06
作者Nick Pelly <npelly@goog...>
CommiterNick Pelly

Log Message

DO NOT MERGE

Cherry-pick from GB to HC.

Update sample app for final GB MR API changes.

Change-Id: Iab3b879d1a53b70cbffd51011c77699325e21dad

更改概述

差异

--- 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 {
3737
3838 Intent intent = getIntent();
3939 String action = intent.getAction();
40- if (NfcAdapter.ACTION_TECHNOLOGY_DISCOVERED.equals(action)) {
40+ if (NfcAdapter.ACTION_TECH_DISCOVERED.equals(action)) {
4141 mText.setText("Discovered tag " + ++mCount + " with intent: " + intent);
4242 } else {
4343 mText.setText("Scan a tag");