diff options
| author | Ugo Yu <ugoyu@google.com> | 2021-09-02 18:40:07 +0800 |
|---|---|---|
| committer | Ugo Yu <ugoyu@google.com> | 2021-09-09 06:06:29 +0000 |
| commit | cc89e936cf5aac310a1c0711686be6621c69d31b (patch) | |
| tree | f957c48756f5392423658ef7a8ea2662b13f9cf1 /core/java/android/inputmethodservice/InputMethodService.java | |
| 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)
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
