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

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

Merge "Check transition participant to update wallpaper surface visibility" into main

parents 6d7e9a49 789d8926
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -89,8 +89,9 @@ class WallpaperWindowToken extends WindowToken {
            // Similar to Task.prepareSurfaces, outside of transitions we need to apply visibility
            // changes directly. In transitions the transition player will take care of applying the
            // visibility change.
            if (!mTransitionController.inTransition(this)) {
                getSyncTransaction().setVisibility(mSurfaceControl, isVisible());
            if (!mTransitionController.isCollecting(this)
                    && !mTransitionController.isPlayingTarget(this)) {
                getPendingTransaction().setVisibility(mSurfaceControl, isVisible());
            }
        }
    }