aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkcs <mcampbellsmith@gmail.com>2014-02-24 10:01:00 +1100
committermarkcs <mcampbellsmith@gmail.com>2014-02-24 10:01:04 +1100
commit706e712ff08cd49fc55453659c978ed50f90f893 (patch)
treefa2624bb9e1d8cb620ba6abbb5c81c2f738b2397
parentf066f84179fe10770e3f9ce435687ee7c85e6692 (diff)
downloadandroid_frameworks_opt_telephony-pre-qcril.tar.gz
android_frameworks_opt_telephony-pre-qcril.tar.bz2
android_frameworks_opt_telephony-pre-qcril.zip
SamsungQualcommRIL: allow mQANElements to be device specificpre-qcril
The new proprietary blobs for i9305 require that mQANElements = 6. This patch simply introduces a new system property that can be used to adjust the value of mQANElements if required. Change-Id: I0a7d7dd4c6f7a17a808bbea2ac488be40e2a2d38
-rw-r--r--src/java/com/android/internal/telephony/SamsungQualcommRIL.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/com/android/internal/telephony/SamsungQualcommRIL.java b/src/java/com/android/internal/telephony/SamsungQualcommRIL.java
index 1985d074f..685be4b3e 100644
--- a/src/java/com/android/internal/telephony/SamsungQualcommRIL.java
+++ b/src/java/com/android/internal/telephony/SamsungQualcommRIL.java
@@ -74,6 +74,7 @@ public class SamsungQualcommRIL extends RIL implements CommandsInterface {
int cdmaSubscription) {
super(context, networkMode, cdmaSubscription);
mAudioManager = (AudioManager)mContext.getSystemService(Context.AUDIO_SERVICE);
+ mQANElements = SystemProperties.getInt("ro.ril.telephony.mqanelements", 4);
}
@Override