• 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

修订版181414a48c4c042f8795f039c3d95c2eeba2349e (tree)
时间2011-01-14 14:05:24
作者Wink Saville <wink@goog...>
CommiterWink Saville

Log Message

Fix build.

Commented out the offending lines and add a RuntimeException to
fix the build.

Change-Id: Ide2a7897d639edb1cd28401566558a90235c250b

更改概述

差异

--- a/samples/ApiDemos/src/com/example/android/apis/nfc/ForegroundDispatch.java
+++ b/samples/ApiDemos/src/com/example/android/apis/nfc/ForegroundDispatch.java
@@ -73,7 +73,8 @@ public class ForegroundDispatch extends Activity {
7373 @Override
7474 public void onResume() {
7575 super.onResume();
76- mAdapter.enableForegroundDispatch(this, mPendingIntent, mFilters);
76+ //mAdapter.enableForegroundDispatch(this, mPendingIntent, mFilters);
77+ throw new RuntimeException("onResume not implemented to fix build");
7778 }
7879
7980 @Override
@@ -85,6 +86,7 @@ public class ForegroundDispatch extends Activity {
8586 @Override
8687 public void onPause() {
8788 super.onPause();
88- mAdapter.disableForegroundDispatch(this);
89+ //mAdapter.disableForegroundDispatch(this);
90+ throw new RuntimeException("onPause not implemented to fix build");
8991 }
9092 }