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

Commit 72cee168 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Notify onEnterAnimationComplete even if no transition" into main

parents 38d3c5ca 31e8f733
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -5583,6 +5583,13 @@ final class ActivityRecord extends WindowToken {
        // called for updating snapshot states.
        if (!fromTransition) {
            mWmService.mSnapshotController.notifyAppVisibilityChanged(this, visible);
            if (visible) {
                // In case the activity becomes visible without transition, the client still expects
                // to receive Activity#onEnterAnimationComplete.
                mEnteringAnimation = true;
                mWmService.mActivityManagerAppTransitionNotifier.onAppTransitionFinishedLocked(
                        token);
            }
        }
    }