commit | cc89e936cf5aac310a1c0711686be6621c69d31b | [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 | f957c48756f5392423658ef7a8ea2662b13f9cf1 | |
parent | cf13a4b17ca5cc00afe9661947a67612a75a107c [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 e74d4835a15ff9ceeff1b8a4c1ebcf21f0b379ea)