From 0797705ffa88605aeac63f69bdb457a61c0a79d3 Mon Sep 17 00:00:00 2001 From: Shareef Ali Date: Mon, 22 Jul 2013 23:05:19 -0500 Subject: SamsungQualcommRIL: fix HD voice Change-Id: I8dfd96adeae15c42f57810cdb54a9eb915dead4f --- src/java/com/android/internal/telephony/SamsungQualcommRIL.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/java/com/android/internal/telephony/SamsungQualcommRIL.java b/src/java/com/android/internal/telephony/SamsungQualcommRIL.java index 996fbd1..5bf4ca2 100644 --- a/src/java/com/android/internal/telephony/SamsungQualcommRIL.java +++ b/src/java/com/android/internal/telephony/SamsungQualcommRIL.java @@ -231,6 +231,7 @@ public class SamsungQualcommRIL extends RIL implements CommandsInterface { protected Object responseCallList(Parcel p) { samsungDriverCall = (needsOldRilFeature("newDriverCall") && !isGSM) || mRilVersion < 7 ? false : true; + mAudioManager.setParameters("wide_voice_enable=false"); return super.responseCallList(p); } @@ -605,10 +606,7 @@ public class SamsungQualcommRIL extends RIL implements CommandsInterface { private void setWbAmr(int state) { if (state == 1) { Log.d(LOG_TAG, "setWbAmr(): setting audio parameter - wb_amr=on"); - mAudioManager.setParameters("wb_amr=on"); - } else { - Log.d(LOG_TAG, "setWbAmr(): setting audio parameter - wb_amr=off"); - mAudioManager.setParameters("wb_amr=off"); + mAudioManager.setParameters("wide_voice_enable=true"); } } -- cgit v1.1