commit | d19ee50bfa14ca999ff5ad58d1f1c90b578f3ba5 | [log] [tgz] |
---|---|---|
author | Ugo Yu <ugoyu@google.com> | Thu Sep 02 18:40:07 2021 +0800 |
committer | Ugo Yu <ugoyu@google.com> | Thu Sep 09 06:06:29 2021 +0000 |
tree | e679a9364c557693dd97d4f3fb0c3c3868584258 | |
parent | 82cfa1eb42b0fa43af13c6d4b5d4209204d4d45c [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 (cherry picked from commit 0ba52e7126b0da1bffea5a91d413282a69aac019)