Loading src/com/android/server/telecom/CallAudioRouteController.java +14 −9 Original line number Diff line number Diff line Loading @@ -242,6 +242,8 @@ public class CallAudioRouteController implements CallAudioRouteAdapter { mCommunicationDeviceListener = new AudioManager.OnCommunicationDeviceChangedListener() { @Override public void onCommunicationDeviceChanged(AudioDeviceInfo device) { try { Log.startSession("CARC.oCDC"); @AudioRoute.AudioRouteType int audioType = getAudioType(device); setCurrentCommunicationDevice(device); Log.i(this, "onCommunicationDeviceChanged: device (%s), audioType (%d)", Loading @@ -253,6 +255,9 @@ public class CallAudioRouteController implements CallAudioRouteAdapter { } else { sendMessageWithSessionInfo(SPEAKER_OFF); } } finally { Log.endSession(); } } }; Loading src/com/android/server/telecom/CallDiagnosticServiceController.java +1 −0 Original line number Diff line number Diff line Loading @@ -331,6 +331,7 @@ public class CallDiagnosticServiceController extends CallsManagerListenerBase { CallAudioState newCallAudioState) { if (mCallDiagnosticService != null) { try { Log.i(this, "onCallAudioStateChanged: newAudioState=%s", newCallAudioState); mCallDiagnosticService.updateCallAudioState(newCallAudioState); } catch (RemoteException e) { Log.w(this, "onCallAudioStateChanged: failed %s", e); Loading Loading
src/com/android/server/telecom/CallAudioRouteController.java +14 −9 Original line number Diff line number Diff line Loading @@ -242,6 +242,8 @@ public class CallAudioRouteController implements CallAudioRouteAdapter { mCommunicationDeviceListener = new AudioManager.OnCommunicationDeviceChangedListener() { @Override public void onCommunicationDeviceChanged(AudioDeviceInfo device) { try { Log.startSession("CARC.oCDC"); @AudioRoute.AudioRouteType int audioType = getAudioType(device); setCurrentCommunicationDevice(device); Log.i(this, "onCommunicationDeviceChanged: device (%s), audioType (%d)", Loading @@ -253,6 +255,9 @@ public class CallAudioRouteController implements CallAudioRouteAdapter { } else { sendMessageWithSessionInfo(SPEAKER_OFF); } } finally { Log.endSession(); } } }; Loading
src/com/android/server/telecom/CallDiagnosticServiceController.java +1 −0 Original line number Diff line number Diff line Loading @@ -331,6 +331,7 @@ public class CallDiagnosticServiceController extends CallsManagerListenerBase { CallAudioState newCallAudioState) { if (mCallDiagnosticService != null) { try { Log.i(this, "onCallAudioStateChanged: newAudioState=%s", newCallAudioState); mCallDiagnosticService.updateCallAudioState(newCallAudioState); } catch (RemoteException e) { Log.w(this, "onCallAudioStateChanged: failed %s", e); Loading