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

Commit e0f1e0b8 authored by Riddle Hsu's avatar Riddle Hsu Committed by Presubmit Automerger Backend
Browse files

[automerge] Execute transition by starting window only if visible requested 2p: 37d61f3b

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17699320

Bug: 161781889
Change-Id: Ie9a90f8a32d1377b87433f0c060246454e8c146e
parents d80bfd1e 37d61f3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6300,7 +6300,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
        // starting window is drawn, the transition can start earlier. Exclude finishing and bubble
        // because it may be a trampoline.
        if (!wasTaskVisible && mStartingData != null && !finishing && !mLaunchedFromBubble
                && !mDisplayContent.mAppTransition.isReady()
                && mVisibleRequested && !mDisplayContent.mAppTransition.isReady()
                && !mDisplayContent.mAppTransition.isRunning()
                && mDisplayContent.isNextTransitionForward()) {
            // The pending transition state will be cleared after the transition is started, so