Loading src/java/com/android/internal/telephony/Phone.java +8 −0 Original line number Diff line number Diff line Loading @@ -224,6 +224,9 @@ public abstract class Phone extends Handler implements PhoneInternalInterface { // Key used to read/write "disable DNS server check" pref (used for testing) private static final String DNS_SERVER_CHECK_DISABLED_KEY = "dns_server_check_disabled_key"; // Integer used to let the calling application know that the we are ignoring auto mode switch. private static final int ALREADY_IN_AUTO_SELECTION = 1; /** * Small container class used to hold information relevant to * the carrier selection process. operatorNumeric can be "" Loading Loading @@ -1175,6 +1178,11 @@ public abstract class Phone extends Handler implements PhoneInternalInterface { mCi.setNetworkSelectionModeAutomatic(msg); } else { Rlog.d(LOG_TAG, "setNetworkSelectionModeAutomatic - already auto, ignoring"); // let the calling application know that the we are ignoring automatic mode switch. if (nsm.message != null) { nsm.message.arg1 = ALREADY_IN_AUTO_SELECTION; } ar.userObj = nsm; handleSetSelectNetwork(ar); } Loading Loading
src/java/com/android/internal/telephony/Phone.java +8 −0 Original line number Diff line number Diff line Loading @@ -224,6 +224,9 @@ public abstract class Phone extends Handler implements PhoneInternalInterface { // Key used to read/write "disable DNS server check" pref (used for testing) private static final String DNS_SERVER_CHECK_DISABLED_KEY = "dns_server_check_disabled_key"; // Integer used to let the calling application know that the we are ignoring auto mode switch. private static final int ALREADY_IN_AUTO_SELECTION = 1; /** * Small container class used to hold information relevant to * the carrier selection process. operatorNumeric can be "" Loading Loading @@ -1175,6 +1178,11 @@ public abstract class Phone extends Handler implements PhoneInternalInterface { mCi.setNetworkSelectionModeAutomatic(msg); } else { Rlog.d(LOG_TAG, "setNetworkSelectionModeAutomatic - already auto, ignoring"); // let the calling application know that the we are ignoring automatic mode switch. if (nsm.message != null) { nsm.message.arg1 = ALREADY_IN_AUTO_SELECTION; } ar.userObj = nsm; handleSetSelectNetwork(ar); } Loading