commit | 6370606bee684a66749a79dc892a57d269d7f24b | [log] [tgz] |
---|---|---|
author | Ugo Yu <ugoyu@google.com> | Thu Sep 02 18:40:07 2021 +0800 |
committer | Ugo Yu <ugoyu@google.com> | Wed Sep 08 16:10:03 2021 +0800 |
tree | 3994fd21d7c6e42e54dcd940d9e97930cba1ae4a | |
parent | 44233c693c678d81327b1462b26666d419856072 [diff] |
Avoid Bluetooth gets turned on by enableBle BluetoothHandler was not able to tell whether the MESSAGE_ENABLE was from enable() or enableBle(), which sometimes lead to Bluetooth gets turned to STATE_ON by an enableBle() call. Fix this problem by adding a BLE specific argument in the message to differ the calls. Bug: 191404687 Test: Manual Change-Id: Ic9df612ec0e396932df2fb3bf3a5874bd4e7443c Merged-In: Ic9df612ec0e396932df2fb3bf3a5874bd4e7443c