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

Commit 8afe0588 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Fix bug where outgoing calls go to full-screen before answered.

Now that VT is working for me again, I noticed this (the test connection
service answers instantly).

Solved my requiring a primary call which is active before auto-entering
full screen mode.

Bug: 19850117
Change-Id: I625838ebc1d78d6bfe594ff49822f76f7ac56ab9
parent 8e8824b6
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;