diff options
author | Chia-chi Yeh <chiachi@android.com> | 2011-01-06 15:51:45 +0800 |
---|---|---|
committer | Chia-chi Yeh <chiachi@android.com> | 2011-01-06 15:51:45 +0800 |
commit | 4bf82df2f069b5a788689064bf8d3f6b612587d4 (patch) | |
tree | ef73af6579d45ec3eee2e939b7bd2e67a21a82e3 /voip | |
parent | c91d8c3ea5d2a3a065f7d5074817689713ea6dda (diff) | |
download | frameworks_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.java | 10 |
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) { |