Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9dd765ac authored by Koushik Dutta's avatar Koushik Dutta Committed by Gerrit Code Review
Browse files

Merge "telephony: fix mistake while comparing strings" into gingerbread

parents 966f74db 1e31287f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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);