From 00f5286ec0546c2f29f053e7f62c567fdde84acf Mon Sep 17 00:00:00 2001 From: CCD-1997 Date: Wed, 3 Feb 2016 22:58:49 +0530 Subject: SamsungOmap4RIL: Update constructors Change-Id: I24c3b9cf659cb55297b0a208e3d7c9942c4135ee Signed-off-by: CCD-1997 --- .../java/com/android/internal/telephony/SamsungOmap4RIL.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ril/telephony/java/com/android/internal/telephony/SamsungOmap4RIL.java b/ril/telephony/java/com/android/internal/telephony/SamsungOmap4RIL.java index 2639479..41b44d8 100644 --- a/ril/telephony/java/com/android/internal/telephony/SamsungOmap4RIL.java +++ b/ril/telephony/java/com/android/internal/telephony/SamsungOmap4RIL.java @@ -121,11 +121,15 @@ public class SamsungOmap4RIL extends RIL implements CommandsInterface { private Object mCatProCmdBuffer; - public SamsungOmap4RIL(Context context, int networkMode, int cdmaSubscription, Integer instanceid) { - super(context, networkMode, cdmaSubscription); + public SamsungOmap4RIL(Context context, int preferredNetworkType, int cdmaSubscription, Integer instanceid) { + super(context, preferredNetworkType, cdmaSubscription, instanceid); mQANElements = 5; } + public SamsungOmap4RIL(Context context, int preferredNetworkType, int cdmaSubscription) { + super(context, preferredNetworkType, cdmaSubscription, null); + } + static String requestToString(int request) { switch (request) { -- cgit v1.1