summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2012-04-26 16:25:36 -0700
committerMartijn Coenen <maco@google.com>2012-04-26 16:25:36 -0700
commit0af2f3baa4b58419f6d4268fb83d9a2952dceba0 (patch)
tree0bbebef7ef9617a972a30c2abd2198f18ff68331 /src/com
parent68bd18ee08c057b72b94f467d440766e70bec3e6 (diff)
downloadpackages_apps_nfc-0af2f3baa4b58419f6d4268fb83d9a2952dceba0.zip
packages_apps_nfc-0af2f3baa4b58419f6d4268fb83d9a2952dceba0.tar.gz
packages_apps_nfc-0af2f3baa4b58419f6d4268fb83d9a2952dceba0.tar.bz2
Call right Bluetooth enable API.
Change-Id: Iff926bce1d3b00fe301195b6e3d341631c58fe29
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/nfc/handover/HandoverManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/nfc/handover/HandoverManager.java b/src/com/android/nfc/handover/HandoverManager.java
index 7d406ec..997afa6 100644
--- a/src/com/android/nfc/handover/HandoverManager.java
+++ b/src/com/android/nfc/handover/HandoverManager.java
@@ -142,7 +142,7 @@ public class HandoverManager implements BluetoothProfile.ServiceListener,
*/
boolean enableBluetooth() {
// Enable BT
- boolean result = mBluetoothAdapter.enable();
+ boolean result = mBluetoothAdapter.enableNoAutoConnect();
if (result) {
// Start polling for BT activity to make sure we eventually disable