summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2012-08-16 13:47:49 -0700
committerMartijn Coenen <maco@google.com>2012-08-16 13:47:49 -0700
commit5e100450dac446c851690af1a522446fa406e4ad (patch)
treec9d27ea4ece4dbe9a9362e197671798b4c181ceb /src
parent7de0211f2c47500f921634d9af18900826000616 (diff)
downloadpackages_apps_nfc-5e100450dac446c851690af1a522446fa406e4ad.zip
packages_apps_nfc-5e100450dac446c851690af1a522446fa406e4ad.tar.gz
packages_apps_nfc-5e100450dac446c851690af1a522446fa406e4ad.tar.bz2
Don't call applyRouting on disable().
Original patch from Chih-Weih Huang <cw_huang@htc.com>. Change-Id: I15b129d318d125cf67aba83d16441c6d52bb193a
Diffstat (limited to 'src')
-rwxr-xr-xsrc/com/android/nfc/NfcService.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/nfc/NfcService.java b/src/com/android/nfc/NfcService.java
index 5f9fc21..3acfa1c 100755
--- a/src/com/android/nfc/NfcService.java
+++ b/src/com/android/nfc/NfcService.java
@@ -597,7 +597,6 @@ public class NfcService extends Application implements DeviceHostListener {
// A convenient way to stop the watchdog properly consists of
// disconnecting the tag. The polling loop shall be stopped before
// to avoid the tag being discovered again.
- applyRouting(true);
maybeDisconnectTarget();
mNfcDispatcher.setForegroundDispatch(null, null, null);