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

Commit 283b8e86 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Revert "Clear mEnterTransitionCoordinator after content shows."" into tm-qpr-dev

parents 23e80323 716b33e3
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -263,11 +263,6 @@ class ActivityTransitionState {
        // After orientation change, the onResume can come in before the top Activity has
        // left, so if the Activity is not top, wait a second for the top Activity to exit.
        if (mEnterTransitionCoordinator == null || activity.isTopOfTask()) {
            if (mEnterTransitionCoordinator != null) {
                mEnterTransitionCoordinator.runAfterTransitionsComplete(() -> {
                    mEnterTransitionCoordinator = null;
                });
            }
            restoreExitedViews();
            restoreReenteringViews();
        } else {
@@ -276,11 +271,6 @@ class ActivityTransitionState {
                public void run() {
                    if (mEnterTransitionCoordinator == null ||
                            mEnterTransitionCoordinator.isWaitingForRemoteExit()) {
                        if (mEnterTransitionCoordinator != null) {
                            mEnterTransitionCoordinator.runAfterTransitionsComplete(() -> {
                                mEnterTransitionCoordinator = null;
                            });
                        }
                        restoreExitedViews();
                        restoreReenteringViews();
                    } else if (mEnterTransitionCoordinator.isReturning()) {