diff options
author | Ugo Yu <ugoyu@google.com> | 2020-03-23 13:48:33 +0800 |
---|---|---|
committer | Ugo Yu <ugoyu@google.com> | 2020-03-25 17:47:19 +0800 |
commit | 644a6d52a686dfdf8d35a495aed938145048ad27 (patch) | |
tree | 5e8b2dcb513b37137bdc283b02f04081aba50bef /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions