Merge "DO NOT MERGE ANYWHERE Set audio route to min viable for all connected calls." into cw-e-dev
diff --git a/src/com/android/server/telecom/CallAudioManager.java b/src/com/android/server/telecom/CallAudioManager.java
index 0c50c67..af15ced 100644
--- a/src/com/android/server/telecom/CallAudioManager.java
+++ b/src/com/android/server/telecom/CallAudioManager.java
@@ -657,9 +657,9 @@
if (route == CallAudioState.ROUTE_WIRED_OR_EARPIECE) {
route = CallAudioState.ROUTE_WIRED_OR_EARPIECE & supportedRouteMask;
if (route == 0) {
- Log.wtf(this, "One of wired headset or earpiece should always be valid.");
- // assume earpiece in this case.
- route = CallAudioState.ROUTE_EARPIECE;
+ Log.w(this, "One of wired headset or earpiece should always be valid.");
+ // assume speaker in this case. This covers the watch case
+ route = CallAudioState.ROUTE_SPEAKER;
}
}
return route;