Activate the last connected BT device
When BT1 connected -> BT2 connected -> BT2 disconnected, then the sound came from phone speaker before this CL. With the CL, now the sound comes from BT1. Bug: 243053736 Tag: #refactor Test: atest BluetoothInstrumentationTests:ActiveDeviceManagerTest Change-Id: I1d019bfd117f7e9f13618dfa989c331b33be3f42
Showing
- android/app/src/com/android/bluetooth/a2dp/A2dpService.java 1 addition, 1 deletionandroid/app/src/com/android/bluetooth/a2dp/A2dpService.java
- android/app/src/com/android/bluetooth/btservice/ActiveDeviceManager.java 111 additions, 21 deletions.../com/android/bluetooth/btservice/ActiveDeviceManager.java
- android/app/src/com/android/bluetooth/hfp/HeadsetService.java 7 additions, 2 deletions...oid/app/src/com/android/bluetooth/hfp/HeadsetService.java
- android/app/tests/unit/src/com/android/bluetooth/btservice/ActiveDeviceManagerTest.java 52 additions, 0 deletions.../android/bluetooth/btservice/ActiveDeviceManagerTest.java
Loading
Please register or sign in to comment