diff options
| author | 2021-06-02 14:30:37 +0800 | |
|---|---|---|
| committer | 2021-07-30 22:09:38 +0000 | |
| commit | 86a7fe21b195ef34a5e41236674a043fda9b7620 (patch) | |
| tree | 1c3feb148d1d2bcc30dca1aa1d2a709ed5747449 /services/coverage/java | |
| parent | 9ef59ac901a87d30920db6aa8541bdaab67f7433 (diff) | |
Broadcast Bluetooth state to OFF properly
In current logic, we broadcast Bluetooth state OFF at BLE_ON state.
However, if Bluetooth gets crashed, we won't have the chance to send OFF
intent as we never get to BLE_ON.
This change makes the BluetoothManagerService skips the OFF intent only
if the previous state is a BLE state.
Bug: 189271317
Test: manual
Change-Id: I3936766ab8bdd45d59550dacb64bdc0323bb424d
Merged-In: I3936766ab8bdd45d59550dacb64bdc0323bb424d
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions