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

Commit f5b014e3 authored by Joonhun Shin's avatar Joonhun Shin Committed by Android (Google) Code Review
Browse files

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

parents f7dc48ed b516a8c2
Loading
Loading
Loading
Loading
+8 −4
Original line number Original line Diff line number Diff line
@@ -4071,10 +4071,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