commit | 43f7ee7d9231903dac70b4e79cf3e15217722d07 | [log] [tgz] |
---|---|---|
author | weichinweng <weichinweng@google.com> | Thu Mar 11 15:05:39 2021 +0800 |
committer | weichinweng <weichinweng@google.com> | Tue Mar 16 09:37:45 2021 +0800 |
tree | 70ddd8717ef74fb8c886e47b41da9a44511d09d8 | |
parent | f77621cf470fde1ae45859a65bd4fa28b8fdab1c [diff] |
Excludes unexpected set service state intent If the Bluetooth crashes when disabling Bluetooth service, the set service state intent will be kept and be sent when the Bluetooth service is enabling next time. The patch lists the profile service we want to enable, then checks and excludes the unexpected intent when doing doStart() and doStop(). Bug: 161092588 Test: atest BluetoothInstrumentationTests Tag: #stability Change-Id: I044149f149ae105e47a8e6ce6b10db7ab1e4a65b