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

Commit 578c8965 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

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

Change-Id: Ib97c6b3aedab6b225d46f01072794dd35a83405f
parents bb509e39 499c2c51
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -4034,10 +4034,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