summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothA2dp.java
diff options
context:
space:
mode:
authorjonerlin <jonerlin@google.com>2018-08-09 16:39:43 +0800
committerJack He <siyuanh@google.com>2018-08-16 04:55:39 +0000
commit2d006b8a24d6ac043ece40c4dcff0cf3ab61323c (patch)
tree8b7489cd6dabe924118d29f336c9962d1c915324 /framework/java/android/bluetooth/BluetoothA2dp.java
parentbd6fc9a8a4411f8afa9b3fa0b20436be123c3562 (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 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/BluetoothA2dp.java')
0 files changed, 0 insertions, 0 deletions