Promotion of atel.lnx.2.0-00027.
CRs Change ID Subject
--------------------------------------------------------------------------------------------------------------
995962 Ic30e4ab033a3af205cecfbdf5157a7b101f387ad IMS: Do not mute the Mic during add call
Change-Id: Ifb5f838a7b8ef59641d0d864403eef4b084e1f78
CRs-Fixed: 995962
diff --git a/InCallUI/src/com/android/incallui/CallButtonPresenter.java b/InCallUI/src/com/android/incallui/CallButtonPresenter.java
index b5002db..41d6e9c 100644
--- a/InCallUI/src/com/android/incallui/CallButtonPresenter.java
+++ b/InCallUI/src/com/android/incallui/CallButtonPresenter.java
@@ -300,11 +300,13 @@
}
public void addCallClicked() {
- // Automatically mute the current call
- mAutomaticallyMuted = true;
- mPreviousMuteState = AudioModeProvider.getInstance().getMute();
- // Simulate a click on the mute button
- muteClicked(true);
+ if (!QtiImsExtUtils.isCarrierOneSupported()) {
+ // Automatically mute the current call
+ mAutomaticallyMuted = true;
+ mPreviousMuteState = AudioModeProvider.getInstance().getMute();
+ // Simulate a click on the mute button
+ muteClicked(true);
+ }
TelecomAdapter.getInstance().addCall();
}