commit | f7065dc95213df91e631eb7689e25cc5f4378476 | [log] [tgz] |
---|---|---|
author | Ugo Yu <ugoyu@google.com> | Tue May 26 13:28:38 2020 +0800 |
committer | Ugo Yu <ugoyu@google.com> | Tue May 26 10:52:25 2020 +0000 |
tree | 01ea86f9c134324dc99435db2ce1996e5e2bf01c | |
parent | 9f16f2665a878a0f08fb73bd56ba1f703c35db4f [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