commit | e74d4835a15ff9ceeff1b8a4c1ebcf21f0b379ea | [log] [tgz] |
---|---|---|
author | Ugo Yu <ugoyu@google.com> | Thu Sep 02 18:40:07 2021 +0800 |
committer | Ugo Yu <ugoyu@google.com> | Tue Sep 07 01:26:01 2021 +0000 |
tree | e6e33dc2bde3731f02343621933cfeecf1c4433c | |
parent | 9ca7052183e8400a344e5e24d60178c1aa420bd0 [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