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

Commit 70778d7d authored by George Mount's avatar George Mount
Browse files

Stop temporary window from showing with activity transitions.

Bug 15424905

When creating a new process, a temporary window would show,
even when within the same task. This CL prevents the temporary
window from showing when using
ActivityOptions.makeSceneTransitionAnimation(...)

Change-Id: I93c40ba0b41ed90ebe6e9802d1236f8c81d60abe
parent 009edbb2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1936,6 +1936,9 @@ final class ActivityStack {
                    resetTaskIfNeededLocked(r, r);
                    doShow = topRunningNonDelayedActivityLocked(null) == r;
                }
            } else if (options != null && new ActivityOptions(options).getAnimationType()
                    == ActivityOptions.ANIM_SCENE_TRANSITION) {
                doShow = false;
            }
            if (SHOW_APP_STARTING_PREVIEW && doShow) {
                // Figure out if we are transitioning from another activity that is