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

Commit 13365de1 authored by Brad Ebinger's avatar Brad Ebinger Committed by Android (Google) Code Review
Browse files

Merge "Initialization causes IMS to deregister" into oc-dr1-dev

parents b0c1c0d2 352a2425
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -569,7 +569,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
@@ -3317,7 +3317,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);