Don't unmute when answering a handover connection

We usually unmute the mic when a new call is answered. However, since
handovers go through the same code path, they'd get unmuted too. We want
to preserve the mute behavior from pre-handover, so add a special case
check.

Bug: 63795849
Test: manual
Change-Id: I7c09252d9541ab41c4bb72e5311e64d3c12b53ba
diff --git a/src/com/android/server/telecom/CallAudioManager.java b/src/com/android/server/telecom/CallAudioManager.java
index f778e30..5f56fcf 100644
--- a/src/com/android/server/telecom/CallAudioManager.java
+++ b/src/com/android/server/telecom/CallAudioManager.java
@@ -232,8 +232,10 @@
             }
         }
 
-        // Turn off mute when a new incoming call is answered.
-        mute(false /* shouldMute */);
+        // Turn off mute when a new incoming call is answered iff it's not a handover.
+        if (!call.isHandoverInProgress()) {
+            mute(false /* shouldMute */);
+        }
 
         maybeStopRingingAndCallWaitingForAnsweredOrRejectedCall(call);
     }