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

Commit 43396b87 authored by Andrew Lee's avatar Andrew Lee Committed by Android Git Automerger
Browse files

am 1bf97f52: Merge "Don\'t show add if there is an outgoing call." into lmp-mr1-dev

* commit '1bf97f52':
  Don't show add if there is an outgoing call.
parents 8182537f 1bf97f52
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -902,6 +902,10 @@ public final class CallsManager extends Call.ListenerBase {
     * Returns true if telecom supports adding another top-level call.
     */
    boolean canAddCall() {
        if (getFirstCallWithState(OUTGOING_CALL_STATES) != null) {
            return false;
        }

        int count = 0;
        for (Call call : mCalls) {
            if (call.isEmergencyCall()) {