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

Commit d479f9c1 authored by Meng Wang's avatar Meng Wang Committed by android-build-merger
Browse files

ImsPhone: defer intial roaming state update

am: 6b859110

Change-Id: I346d2c8a19c0ab6d59dff2b089e257298c6c94a3
parents a309f486 6b859110
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -231,8 +231,8 @@ public class ImsPhone extends ImsPhoneBase {
        updateDataServiceState();

        mDefaultPhone.registerForServiceStateChanged(this, EVENT_SERVICE_STATE_CHANGED, null);
        // Force update roaming state
        updateRoamingState(getCurrentRoaming());
        // Force initial roaming state update later, on EVENT_CARRIER_CONFIG_CHANGED.
        // Settings provider or CarrierConfig may not be loaded now.
    }

    //todo: get rid of this function. It is not needed since parentPhone obj never changes