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

Commit 0624b77b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Initialization causes IMS to deregister"

parents a6e4d341 a0042c85
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -557,7 +557,6 @@ public abstract class Phone extends Handler implements PhoneInternalInterface {
                if (imsManager.isDynamicBinding() || imsManager.isServiceAvailable()) {
                    mImsServiceReady = true;
                    updateImsPhone();
                    ImsManager.updateImsServiceConfig(mContext, mPhoneId, false);
                }
            }
        }
+5 −1
Original line number Diff line number Diff line
@@ -3307,7 +3307,11 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
            mShouldUpdateImsConfigOnDisconnect = false;
        }

        if (!mShouldUpdateImsConfigOnDisconnect) {

        // We do not want to update the ImsConfig for REASON_REGISTERED, since it can happen before
        // the carrier config has loaded and will deregister IMS.
        if (!mShouldUpdateImsConfigOnDisconnect
                && reason != DataEnabledSettings.REASON_REGISTERED) {
            // This will call into updateVideoCallFeatureValue and eventually all clients will be
            // asynchronously notified that the availability of VT over LTE has changed.
            ImsManager.updateImsServiceConfig(mPhone.getContext(), mPhone.getPhoneId(), true);