summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothHeadsetClientCall.java
diff options
context:
space:
mode:
authorUgo Yu <ugoyu@google.com>2020-05-26 13:28:38 +0800
committerUgo Yu <ugoyu@google.com>2020-05-26 10:52:25 +0000
commit4247e445baa9f02ad07885467701fdd1f6ff8a7f (patch)
tree41240e5a1d5b583e849cf5ae5adff68707fe915b /framework/java/android/bluetooth/BluetoothHeadsetClientCall.java
parent96914087869e5c82dc88fd2b114854b1589ce276 (diff)
Disable Bluetooth if BLE was disabled while enabling
* Call onBrEdrDown if BLE app count is 0 when entering BLE_ON state and the Bluetooth ON was triggered via enableBle(). This fixes an issue that Bluetooth automatically turns ON if gms calls enableBle() then disableBle() in a short time. * Fix a deadlock bug that acquires writeLock in a readLock. Bug: 153767389 Bug: 155950370 Test: Manual Change-Id: I4f92581465de81ffe9b45fb042b5cc43e5ab4136
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothHeadsetClientCall.java')
0 files changed, 0 insertions, 0 deletions