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

Commit 4c6d7032 authored by Joonhun Shin's avatar Joonhun Shin Committed by Automerger Merge Worker
Browse files

Merge "move the responsibility of calling updateImsServiceConfig back to the...

Merge "move the responsibility of calling updateImsServiceConfig back to the ImsPhoneCallTracker" am: 499c2c51 am: 578c8965 am: fe6b93cd

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/2005511

Change-Id: I3283b766f4dd115231c1dc3a91a2459959e3b17f
parents 503fc3ae fe6b93cd
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -4072,10 +4072,14 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
        @Override
        public void onProvisioningIntChanged(int item, int value) {
            sendConfigChangedIntent(item, Integer.toString(value));

            // mImsManager.updateImsServiceConfig() will be called by ImsProvisioningController
            // when provisioning status is changed. The implementation is removed to avoid calling
            // the updateImsServiceConfig twice.
            if ((mImsManager != null)
                    && (item == ImsConfig.ConfigConstants.VOICE_OVER_WIFI_SETTING_ENABLED
                    || item == ImsConfig.ConfigConstants.VLT_SETTING_ENABLED
                    || item == ImsConfig.ConfigConstants.LVC_SETTING_ENABLED)) {
                // Update Ims Service state to make sure updated provisioning values take effect
                // immediately.
                updateImsServiceConfig();
            }
        }

        @Override