summaryrefslogtreecommitdiffstats
path: root/voip
diff options
context:
space:
mode:
authorChia-chi Yeh <chiachi@android.com>2011-01-06 15:51:45 +0800
committerChia-chi Yeh <chiachi@android.com>2011-01-06 15:51:45 +0800
commit4bf82df2f069b5a788689064bf8d3f6b612587d4 (patch)
treeef73af6579d45ec3eee2e939b7bd2e67a21a82e3 /voip
parentc91d8c3ea5d2a3a065f7d5074817689713ea6dda (diff)
downloadframeworks_base-4bf82df2f069b5a788689064bf8d3f6b612587d4.zip
frameworks_base-4bf82df2f069b5a788689064bf8d3f6b612587d4.tar.gz
frameworks_base-4bf82df2f069b5a788689064bf8d3f6b612587d4.tar.bz2
Do not set back to AudioManager.MODE_NORMAL in SipAudioCall.
Change-Id: I8f68e01e5f8c73bb8afd44312cbfadb55aab4330
Diffstat (limited to 'voip')
-rw-r--r--voip/java/android/net/sip/SipAudioCall.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/voip/java/android/net/sip/SipAudioCall.java b/voip/java/android/net/sip/SipAudioCall.java
index ce18ec5..90d286d 100644
--- a/voip/java/android/net/sip/SipAudioCall.java
+++ b/voip/java/android/net/sip/SipAudioCall.java
@@ -999,16 +999,6 @@ public class SipAudioCall {
if (isWifiOn()) grabWifiHighPerfLock();
- if (!mHold) {
- /* The recorder volume will be very low if the device is in
- * IN_CALL mode. Therefore, we have to set the mode to NORMAL
- * in order to have the normal microphone level.
- */
- ((AudioManager) mContext.getSystemService
- (Context.AUDIO_SERVICE))
- .setMode(AudioManager.MODE_NORMAL);
- }
-
// AudioGroup logic:
AudioGroup audioGroup = getAudioGroup();
if (mHold) {