Loading telephony/java/com/android/internal/telephony/PhoneFactory.java +3 −1 Original line number Diff line number Diff line Loading @@ -110,9 +110,11 @@ public class PhoneFactory { //reads the system properties and makes commandsinterface String sRILClassname = SystemProperties.get("ro.telephony.ril_class"); Log.i(LOG_TAG, "RILClassname is " + sRILClassname); if(sRILClassname == "samsung") if("samsung".equals(sRILClassname)) { Log.i(LOG_TAG, "Using Samsung RIL"); sCommandsInterface = new SamsungRIL(context, networkMode, cdmaSubscription); } else { sCommandsInterface = new RIL(context, networkMode, cdmaSubscription); Loading Loading
telephony/java/com/android/internal/telephony/PhoneFactory.java +3 −1 Original line number Diff line number Diff line Loading @@ -110,9 +110,11 @@ public class PhoneFactory { //reads the system properties and makes commandsinterface String sRILClassname = SystemProperties.get("ro.telephony.ril_class"); Log.i(LOG_TAG, "RILClassname is " + sRILClassname); if(sRILClassname == "samsung") if("samsung".equals(sRILClassname)) { Log.i(LOG_TAG, "Using Samsung RIL"); sCommandsInterface = new SamsungRIL(context, networkMode, cdmaSubscription); } else { sCommandsInterface = new RIL(context, networkMode, cdmaSubscription); Loading