diff options
author | jonerlin <jonerlin@google.com> | 2018-08-09 16:39:43 +0800 |
---|---|---|
committer | Chienyuan <chienyuanhuang@google.com> | 2018-12-26 16:38:08 +0800 |
commit | af861850bfbf6fc26b76f7719acd39315e39edc9 (patch) | |
tree | b503bbfcae91527e6455579fc794f2f11da46343 /framework/java/android/bluetooth/BluetoothMapClient.java | |
parent | fe1ee41949f65ee7b93cb42ea1e60ca2607c9557 (diff) |
AdapterService: Only bind HeadsetService in ON state.
* there will be an endless loop to call doBind and cause many connectionRecords of HeadsetService while binding HeadsetService in BLE_ON state.
* allow to bind HeadsetService only when BT state is ON
Bug: 111730478
Bug: 121024323
Test: Keep device in BLE_ON state -> kill com.android.phone process
-> As time goes on, adb shell dumpsys activity services to check the connectionRecords of HeadsetService will not become more and more
Change-Id: I5f66d015b8aa3c94c7e887ef033213af74235b4a
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothMapClient.java')
0 files changed, 0 insertions, 0 deletions