diff options
author | Mattia D'Alleva <antaresone@antaresone.eu> | 2015-10-31 16:11:16 +0100 |
---|---|---|
committer | sbrissen <sbrissen@hotmail.com> | 2015-11-18 11:26:28 -0500 |
commit | 9c3aebc71d346e176bf259130ffc0c0b6eb1ae3d (patch) | |
tree | 6b4d39e3e52743982ca1d5ecb3e0d6dc8449cfc2 | |
parent | f4b15ebb3a83679c25bfaf96e4da7ba2dfc01c61 (diff) | |
download | android_device_samsung_smdk4412-qcom-common-9c3aebc71d346e176bf259130ffc0c0b6eb1ae3d.tar.gz android_device_samsung_smdk4412-qcom-common-9c3aebc71d346e176bf259130ffc0c0b6eb1ae3d.tar.bz2 android_device_samsung_smdk4412-qcom-common-9c3aebc71d346e176bf259130ffc0c0b6eb1ae3d.zip |
ril: update constructors for M
Change-Id: I1b1fa3c1ee71e785752d80b9f6ead1266eb7e4b1
-rw-r--r-- | ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java | 15 |
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 |