commit | f845259eecf9ecd3b8385a81e6a3792ac515cba2 | [log] [tgz] |
---|---|---|
author | Ugo Yu <ugoyu@google.com> | Mon Mar 23 13:48:33 2020 +0800 |
committer | Ugo Yu <ugoyu@google.com> | Mon Mar 30 09:38:54 2020 +0800 |
tree | 7f15d6af2b5c16b171803efa39385d48d5857569 | |
parent | c822c12780cbd211ea957bcf3d8d3f55b4657177 [diff] |
Independent methods to enable/disable BLE mode * Use IBluetoothManager.enableBle() and disableBle() to toggle BLE only mode instead of updateBleAppCount() then enable(). * Fix BluetoothAdapter.disableBle sometime won't disable Bluetooth. * Add active log if Bluetooth is disabled via disableBle(). Bug: 139454316 Test: enableBle() -> disableBle() and check Bluetooth is OFF. Change-Id: I173d5fed1b47ff68a6504741e25754e65cbd1455