jonerlin 620fab24ae 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
2018-12-26 16:38:08 +08:00
2018-12-23 22:16:25 -08:00
2018-06-06 18:08:01 -07:00
2018-07-27 12:07:27 -07:00
2018-11-16 15:40:04 -08:00
2018-12-07 16:10:32 -08:00
2017-11-20 11:13:48 -08:00
2018-10-04 18:20:51 +00:00
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%