diff options
author | Ugo Yu <ugoyu@google.com> | 2020-05-26 13:28:38 +0800 |
---|---|---|
committer | Ugo Yu <ugoyu@google.com> | 2020-06-03 01:44:16 +0000 |
commit | 6a60987f068879234001f777cdbb07dd7397954f (patch) | |
tree | 6102ad49102dade417f5a24a15c7c50b4f3d2d0e /framework/java/android/bluetooth/BluetoothHeadsetClient.java | |
parent | 8d54511731d897f4542fb50cace8e7cc4e743fe8 (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
Merged-In: I4f92581465de81ffe9b45fb042b5cc43e5ab4136
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothHeadsetClient.java')
0 files changed, 0 insertions, 0 deletions