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

Commit de5bdca0 authored by Pavel Zhamaitsiak's avatar Pavel Zhamaitsiak
Browse files

Fix problem with cell data service after SIM swap

Bug: 25602190
Bug: 25953443
Change-Id: Ic0b12522df9e6effad3918a540fcece30f61523d
parent 2df8a14c
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -392,12 +392,7 @@ public class DctController extends Handler {
                + ", activePhoneId=" + activePhoneId);

        if (requestedPhoneId == INVALID_PHONE_INDEX) {
            // either we have no network request
            // or there is no valid subscription at the moment
            if (activePhoneId != INVALID_PHONE_INDEX) {
                // detatch so we can try connecting later
                mDcSwitchAsyncChannel[activePhoneId].disconnectAll();
            }
            // we have no network request - don't bother with this
            return;
        }