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

Commit 9e54b35f authored by Suresh Koleti's avatar Suresh Koleti Committed by Deepak Kundra
Browse files

Revert "IMS phone instantiation: add polling on base phone creation"

This reverts commit 401a8f330b882bb5a82193dcbf43322a22d37534.

Change-Id: I81c9d36967572fb698906e7d9efc73e4a0eba9c9
CRs-Fixed: 832200
parent 76ca3e86
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -461,13 +461,7 @@ public abstract class PhoneBase extends Handler implements Phone {
        mUiccController = UiccController.getInstance();
        mUiccController.registerForIccChanged(this, EVENT_ICC_CHANGED, null);

        // Monitor IMS service - but first poll to see if already up (could miss
        // intent)
        ImsManager imsManager = ImsManager.getInstance(mContext, getPhoneId());
        if (imsManager != null && imsManager.isServiceAvailable()) {
            mImsServiceReady = true;
            updateImsPhone();
        }
        // Monitor IMS service
        IntentFilter filter = new IntentFilter();
        filter.addAction(ImsManager.ACTION_IMS_SERVICE_UP);
        filter.addAction(ImsManager.ACTION_IMS_SERVICE_DOWN);