diff options
author | Ugo Yu <ugoyu@google.com> | 2020-05-26 13:28:38 +0800 |
---|---|---|
committer | Ugo Yu <ugoyu@google.com> | 2020-05-26 10:52:25 +0000 |
commit | 4247e445baa9f02ad07885467701fdd1f6ff8a7f (patch) | |
tree | 41240e5a1d5b583e849cf5ae5adff68707fe915b /framework/java/android/bluetooth/BluetoothCodecConfig.java | |
parent | 96914087869e5c82dc88fd2b114854b1589ce276 (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/BluetoothCodecConfig.java')
0 files changed, 0 insertions, 0 deletions