commit | 644a6d52a686dfdf8d35a495aed938145048ad27 | [log] [tgz] |
---|---|---|
author | Ugo Yu <ugoyu@google.com> | Mon Mar 23 13:48:33 2020 +0800 |
committer | Ugo Yu <ugoyu@google.com> | Wed Mar 25 17:47:19 2020 +0800 |
tree | 5e8b2dcb513b37137bdc283b02f04081aba50bef | |
parent | 1859e648d618820a8f4debefd2b24facee520455 [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