Loading services/core/java/com/android/server/audio/AudioDeviceInventory.java +21 −22 Original line number Diff line number Diff line Loading @@ -914,10 +914,9 @@ public class AudioDeviceInventory { di.mDeviceCodecFormat = codec; mConnectedDevices.replace(key, di); codecChange = true; } final int res = mAudioSystem.handleDeviceConfigChange( btInfo.mAudioSystemDevice, address, BtHelper.getName(btDevice), codec); btInfo.mAudioSystemDevice, address, BtHelper.getName(btDevice), codec); if (res != AudioSystem.AUDIO_STATUS_OK) { AudioService.sDeviceLogger.enqueue(new EventLogger.StringEvent( "APM handleDeviceConfigChange failed for A2DP device addr=" Loading @@ -935,7 +934,7 @@ public class AudioDeviceInventory { + address + " codec=" + AudioSystem.audioFormatToString(codec)) .printLog(TAG)); } } } if (!codecChange) { Loading Loading
services/core/java/com/android/server/audio/AudioDeviceInventory.java +21 −22 Original line number Diff line number Diff line Loading @@ -914,10 +914,9 @@ public class AudioDeviceInventory { di.mDeviceCodecFormat = codec; mConnectedDevices.replace(key, di); codecChange = true; } final int res = mAudioSystem.handleDeviceConfigChange( btInfo.mAudioSystemDevice, address, BtHelper.getName(btDevice), codec); btInfo.mAudioSystemDevice, address, BtHelper.getName(btDevice), codec); if (res != AudioSystem.AUDIO_STATUS_OK) { AudioService.sDeviceLogger.enqueue(new EventLogger.StringEvent( "APM handleDeviceConfigChange failed for A2DP device addr=" Loading @@ -935,7 +934,7 @@ public class AudioDeviceInventory { + address + " codec=" + AudioSystem.audioFormatToString(codec)) .printLog(TAG)); } } } if (!codecChange) { Loading