summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShareef Ali <shareefalis@cyanogenmod.org>2013-07-22 23:05:19 -0500
committerShareef Ali <shareefalis@cyanogenmod.org>2013-07-22 23:08:03 -0500
commit0797705ffa88605aeac63f69bdb457a61c0a79d3 (patch)
tree202894048f06908cde8e3bb33573cdfe08cd8d4a
parentb8df474ca91b859d92009e400926f2ddbd2e21fd (diff)
downloadframeworks_opt_telephony-0797705ffa88605aeac63f69bdb457a61c0a79d3.zip
frameworks_opt_telephony-0797705ffa88605aeac63f69bdb457a61c0a79d3.tar.gz
frameworks_opt_telephony-0797705ffa88605aeac63f69bdb457a61c0a79d3.tar.bz2
SamsungQualcommRIL: fix HD voice
Change-Id: I8dfd96adeae15c42f57810cdb54a9eb915dead4f
-rw-r--r--src/java/com/android/internal/telephony/SamsungQualcommRIL.java6
1 files 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");
}
}