From 37fa54617a6eb207284ea619133ed50a1156ff1d Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Tue, 3 Sep 2013 14:34:35 -0700 Subject: Automatically unmute call if user decides not to add call Bug: 10446594 Change-Id: If48fbbebc89b5b48641af3093a0f6547bddcaeea --- InCallUI/src/com/android/incallui/AudioModeProvider.java | 4 ++++ InCallUI/src/com/android/incallui/CallButtonPresenter.java | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/InCallUI/src/com/android/incallui/AudioModeProvider.java b/InCallUI/src/com/android/incallui/AudioModeProvider.java index 36ec20ffa..8224d3e20 100644 --- a/InCallUI/src/com/android/incallui/AudioModeProvider.java +++ b/InCallUI/src/com/android/incallui/AudioModeProvider.java @@ -84,6 +84,10 @@ import java.util.List; return mAudioMode; } + public boolean getMute() { + return mMuted; + } + /* package */ interface AudioModeListener { void onAudioMode(int newMode); void onMute(boolean muted); diff --git a/InCallUI/src/com/android/incallui/CallButtonPresenter.java b/InCallUI/src/com/android/incallui/CallButtonPresenter.java index 6e64e65c4..bc9efe507 100644 --- a/InCallUI/src/com/android/incallui/CallButtonPresenter.java +++ b/InCallUI/src/com/android/incallui/CallButtonPresenter.java @@ -32,6 +32,8 @@ public class CallButtonPresenter extends Presenter