Loading services/core/java/com/android/server/audio/AudioService.java +5 −0 Original line number Diff line number Diff line Loading @@ -3083,6 +3083,11 @@ public class AudioService extends IAudioService.Stub { synchronized (mConnectedDevices) { synchronized (mA2dpAvrcpLock) { mA2dp = (BluetoothA2dp) proxy; if (mConnectedBTDevicesList.size() > 0) { Log.d(TAG,"A2dp connection list not empty, purge it, size " + mConnectedBTDevicesList.size()); mConnectedBTDevicesList.clear(); } //In Dual A2dp, we can have two devices connected deviceList = mA2dp.getConnectedDevices(); Log.d(TAG, "onServiceConnected: A2dp Service connected: " + Loading Loading
services/core/java/com/android/server/audio/AudioService.java +5 −0 Original line number Diff line number Diff line Loading @@ -3083,6 +3083,11 @@ public class AudioService extends IAudioService.Stub { synchronized (mConnectedDevices) { synchronized (mA2dpAvrcpLock) { mA2dp = (BluetoothA2dp) proxy; if (mConnectedBTDevicesList.size() > 0) { Log.d(TAG,"A2dp connection list not empty, purge it, size " + mConnectedBTDevicesList.size()); mConnectedBTDevicesList.clear(); } //In Dual A2dp, we can have two devices connected deviceList = mA2dp.getConnectedDevices(); Log.d(TAG, "onServiceConnected: A2dp Service connected: " + Loading