summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia D'Alleva <antaresone@antaresone.eu>2015-10-31 15:11:16 (GMT)
committersbrissen <sbrissen@hotmail.com>2015-11-18 16:26:28 (GMT)
commit9c3aebc71d346e176bf259130ffc0c0b6eb1ae3d (patch)
tree6b4d39e3e52743982ca1d5ecb3e0d6dc8449cfc2
parentf4b15ebb3a83679c25bfaf96e4da7ba2dfc01c61 (diff)
downloaddevice_samsung_smdk4412-qcom-common-9c3aebc71d346e176bf259130ffc0c0b6eb1ae3d.zip
device_samsung_smdk4412-qcom-common-9c3aebc71d346e176bf259130ffc0c0b6eb1ae3d.tar.gz
device_samsung_smdk4412-qcom-common-9c3aebc71d346e176bf259130ffc0c0b6eb1ae3d.tar.bz2
ril: update constructors for M
Change-Id: I1b1fa3c1ee71e785752d80b9f6ead1266eb7e4b1
-rw-r--r--ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java15
1 files changed, 7 insertions, 8 deletions
diff --git a/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java b/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java
index 89561b6..f233f15 100644
--- a/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java
+++ b/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java
@@ -67,18 +67,17 @@ public class smdk4x12QComRIL extends RIL implements CommandsInterface {
public static final long SEND_SMS_TIMEOUT_IN_MS = 30000;
private boolean samsungEmergency = needsOldRilFeature("samsungEMSReq");
- public smdk4x12QComRIL(Context context, int preferredNetworkType,
- int cdmaSubscription, Integer instanceId) {
- super(context, preferredNetworkType, cdmaSubscription, instanceId);
+ public smdk4x12QComRIL(Context context, int networkModes, int cdmaSubscription) {
+ this(context, networkModes, cdmaSubscription, null);
mAudioManager = (AudioManager)mContext.getSystemService(Context.AUDIO_SERVICE);
- mQANElements = SystemProperties.getInt("ro.ril.telephony.mqanelements", 4);
+ mQANElements = SystemProperties.getInt("ro.ril.telephony.mqanelements", 6);
}
- public smdk4x12QComRIL(Context context, int networkMode,
- int cdmaSubscription) {
- super(context, networkMode, cdmaSubscription, null);
+ public smdk4x12QComRIL(Context context, int preferredNetworkType,
+ int cdmaSubscription, Integer instanceId) {
+ super(context, preferredNetworkType, cdmaSubscription, instanceId);
mAudioManager = (AudioManager)mContext.getSystemService(Context.AUDIO_SERVICE);
- mQANElements = SystemProperties.getInt("ro.ril.telephony.mqanelements", 4);
+ mQANElements = SystemProperties.getInt("ro.ril.telephony.mqanelements", 6);
}
@Override