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

Commit c56762b4 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "DSDA: Update the active sub when no live calls."

parents d5d35ad5 b3a3f946
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -910,6 +910,7 @@ public final class CallsManager extends Call.ListenerBase {
        removeCall(call);
        if (!hasAnyCalls()) {
            updateLchStatus(null);
            setActiveSubscription(null);
            manageMSimInCallTones(false);
        }
    }
@@ -1604,6 +1605,8 @@ public final class CallsManager extends Call.ListenerBase {
                        && phAcc.isSet(PhoneAccount.ACTIVE)) {
                changed = true;
                phAcc.unSetBit(PhoneAccount.ACTIVE);
            } else if (subId == null && phAcc.isSet(PhoneAccount.ACTIVE)) {
                phAcc.unSetBit(PhoneAccount.ACTIVE);
            }
        }
        if (!changed) {