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

Commit 477c4db1 authored by Brad Ebinger's avatar Brad Ebinger Committed by android-build-merger
Browse files

Merge "Update ImsPhone to have default OUT_OF_SERVICE state"

am: 6958edf5

Change-Id: If945ff2883fe8c0a14f3022d4968a667180f23d4
parents b4cd9d7f 6958edf5
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -224,7 +224,10 @@ public class ImsPhone extends ImsPhoneBase {
                    .registerForDataRegStateOrRatChanged(this,
                            EVENT_DEFAULT_PHONE_DATA_STATE_CHANGED, null);
        }
        updateDataServiceState();
        // Sets the Voice reg state to STATE_OUT_OF_SERVICE and also queries the data service
        // state. We don't ever need the voice reg state to be anything other than in or out of
        // service.
        setServiceState(ServiceState.STATE_OUT_OF_SERVICE);

        mDefaultPhone.registerForServiceStateChanged(this, EVENT_SERVICE_STATE_CHANGED, null);
        // Force initial roaming state update later, on EVENT_CARRIER_CONFIG_CHANGED.