From 181414a48c4c042f8795f039c3d95c2eeba2349e Mon Sep 17 00:00:00 2001 From: Wink Saville Date: Thu, 13 Jan 2011 21:05:24 -0800 Subject: [PATCH] Fix build. Commented out the offending lines and add a RuntimeException to fix the build. Change-Id: Ide2a7897d639edb1cd28401566558a90235c250b --- .../com/example/android/apis/nfc/ForegroundDispatch.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/samples/ApiDemos/src/com/example/android/apis/nfc/ForegroundDispatch.java b/samples/ApiDemos/src/com/example/android/apis/nfc/ForegroundDispatch.java index 9b6bc345b..d9a55f4ee 100644 --- 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 { @Override public void onResume() { super.onResume(); - mAdapter.enableForegroundDispatch(this, mPendingIntent, mFilters); + //mAdapter.enableForegroundDispatch(this, mPendingIntent, mFilters); + throw new RuntimeException("onResume not implemented to fix build"); } @Override @@ -85,6 +86,7 @@ public class ForegroundDispatch extends Activity { @Override public void onPause() { super.onPause(); - mAdapter.disableForegroundDispatch(this); + //mAdapter.disableForegroundDispatch(this); + throw new RuntimeException("onPause not implemented to fix build"); } }