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

Commit 2c08b740 authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Removing unnecessary SystemProperty lookup.

Bug: 18328639
Change-Id: Icbf9d7987d27af34cbe4ee1b4e9df19e139c2fc7
parent 1d52db3b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -187,8 +187,7 @@ public class SubscriptionInfoUpdater extends Handler {
                        String newImsi = sPhone[slotId].getSubscriberId();

                        if (!storedImsi.equals(newImsi)) {
                            int networkType = SystemProperties.getInt("ro.telephony.default_network",
                                    RILConstants.PREFERRED_NETWORK_MODE);
                            int networkType = RILConstants.PREFERRED_NETWORK_MODE;

                            // Set the modem network mode
                            sPhone[slotId].setPreferredNetworkType(networkType, null);