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

Commit 1498fecf authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Update surface visibility when transferring starting window" into main

parents 858b62a0 e6e9f620
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4590,6 +4590,7 @@ final class ActivityRecord extends WindowToken {
                if (fromActivity.isVisible()) {
                    setVisible(true);
                    setVisibleRequested(true);
                    mWmService.mAnimator.addSurfaceVisibilityUpdate(this);
                    mVisibleSetFromTransferredStartingWindow = true;
                }
                setClientVisible(fromActivity.isClientVisible());
@@ -7094,6 +7095,7 @@ final class ActivityRecord extends WindowToken {
            // window. We now reset it back to false since the starting window was the last
            // window in the token.
            setVisible(false);
            mWmService.mAnimator.addSurfaceVisibilityUpdate(this);
        }
    }