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

Commit c95ebde4 authored by Ihab Awad's avatar Ihab Awad Committed by Android Git Automerger
Browse files

am c9433c38: Merge "Automatically un-hold calls brought to the foreground" into lmp-dev

* commit 'c9433c38':
  Automatically un-hold calls brought to the foreground
parents 61f3e6c0 c9433c38
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -933,7 +933,9 @@ public final class CallsManager extends Call.ListenerBase {
            Log.v(this, "Updating foreground call, %s -> %s.", mForegroundCall, newForegroundCall);
            Call oldForegroundCall = mForegroundCall;
            mForegroundCall = newForegroundCall;

            if (mForegroundCall != null && mForegroundCall.getState() == CallState.ON_HOLD) {
                mForegroundCall.unhold();
            }
            for (CallsManagerListener listener : mListeners) {
                listener.onForegroundCallChanged(oldForegroundCall, mForegroundCall);
            }