aboutsummaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothManager.java
diff options
context:
space:
mode:
authorUgo Yu <ugoyu@google.com>2021-09-02 18:40:07 +0800
committerUgo Yu <ugoyu@google.com>2021-09-08 16:10:03 +0800
commitacbcf787e4908e392312b26e4ddca6078a9b531b (patch)
treed494a99bbad603de8c87afa652fc8baee7f3d6bf /framework/java/android/bluetooth/BluetoothManager.java
parent30e401f95a23726535878f10e2c14186ca638e1e (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
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothManager.java')
0 files changed, 0 insertions, 0 deletions