diff options
author | Gaurav Asati <gasati@codeaurora.org> | 2014-06-10 15:00:16 +0530 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2014-10-11 16:31:43 -0700 |
commit | aa3137b28025d809189cc0e34d4fab6a51209f18 (patch) | |
tree | bc20daf3cb7a4f842e228422b1cda9119606d6c8 | |
parent | 74e613cb91301c1dff4e817ec66ac3624f059465 (diff) | |
download | android_packages_apps_Bluetooth-aa3137b28025d809189cc0e34d4fab6a51209f18.tar.gz android_packages_apps_Bluetooth-aa3137b28025d809189cc0e34d4fab6a51209f18.tar.bz2 android_packages_apps_Bluetooth-aa3137b28025d809189cc0e34d4fab6a51209f18.zip |
Bluetooth: Re-try connection in Quiet Mode.
When pairing and connection is initiated by NFC
and connection for either of A2dp/HFP fails, then
re-try for connection of failed profile.
Change-Id: I5102e3e2468fcbd9bfc28899d4939bc81722b30c
CRs-Fixed: 680489
-rw-r--r-- | src/com/android/bluetooth/btservice/AdapterService.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/bluetooth/btservice/AdapterService.java b/src/com/android/bluetooth/btservice/AdapterService.java index f45a8c081..8e7decc2a 100644 --- a/src/com/android/bluetooth/btservice/AdapterService.java +++ b/src/com/android/bluetooth/btservice/AdapterService.java @@ -1234,8 +1234,7 @@ public class AdapterService extends Service { isConnectionTimeoutDelayed = true; } } - if ((mHandler.hasMessages(MESSAGE_CONNECT_OTHER_PROFILES) == false) && - (isQuietModeEnabled()== false)){ + if (mHandler.hasMessages(MESSAGE_CONNECT_OTHER_PROFILES) == false) { ParcelUuid[] featureUuids = device.getUuids(); // Some Carkits disconnect just after pairing,Initiate SDP for missing UUID's support if ((!(BluetoothUuid.containsAnyUuid(featureUuids, A2DP_SOURCE_SINK_UUIDS))) || |