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

Commit 3f7ca2e8 authored by Tyler Gunn's avatar Tyler Gunn Committed by Android Git Automerger
Browse files

am 8245f69a: Fix bug where outgoing calls go to full-screen before answered.

* commit '8245f69a14b04c60f0bc30976ea2e74db85c5683':
  Fix bug where outgoing calls go to full-screen before answered.
parents 6c64f65a 8afe0588
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -465,6 +465,7 @@ public class VideoCallPresenter extends Presenter<VideoCallPresenter.VideoCallUi
            updateVideoCall(primary);
        }
        updateCallCache(primary);
        maybeAutoEnterFullscreen();
    }

    private void checkForVideoStateChange(Call call) {
@@ -1073,6 +1074,11 @@ public class VideoCallPresenter extends Presenter<VideoCallPresenter.VideoCallUi
            return;
        }

        if (mPrimaryCall == null || (mPrimaryCall != null
                && mPrimaryCall.getState() != Call.State.ACTIVE) || mIsFullScreen) {
            return;
        }

        if (mAutoFullScreenPending) {
            Log.v(this, "maybeAutoEnterFullscreen : already pending.");
            return;