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

Commit 0c6f287d authored by joonhunshin's avatar joonhunshin Committed by Joonhun Shin
Browse files

Removed to avoid calling the updateImsServiceConfig twice

The updateImsServiceConfig() will be called by ImsProvisioningController when provisioning status is changed. The implementation is removed to avoid calling the updateImsServiceConfig twice.

Bug: b/202199221
Test: build
Change-Id: I6f4a0ae4c9e8f3482d4849240ab28e1160239f51
Merged-In: I6f4a0ae4c9e8f3482d4849240ab28e1160239f51
parent 1f52cc02
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -3978,14 +3978,10 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
        @Override
        public void onProvisioningIntChanged(int item, int value) {
            sendConfigChangedIntent(item, Integer.toString(value));
            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();
            }

            // mImsManager.updateImsServiceConfig() will be called by ImsProvisioningController
            // when provisioning status is changed. The implementation is removed to avoid calling
            // the updateImsServiceConfig twice.
        }

        @Override