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

Commit 499c2c51 authored by Joonhun Shin's avatar Joonhun Shin Committed by Gerrit Code Review
Browse files

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

parents 228cce86 d377f982
Loading
Loading
Loading
Loading
+8 −4
Original line number Original line Diff line number Diff line
@@ -4034,10 +4034,14 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
        @Override
        @Override
        public void onProvisioningIntChanged(int item, int value) {
        public void onProvisioningIntChanged(int item, int value) {
            sendConfigChangedIntent(item, Integer.toString(value));
            sendConfigChangedIntent(item, Integer.toString(value));

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


        @Override
        @Override