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

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

Merge "Set wallpaper to invisible only if it is not visible-requested" into sc-dev

parents 2acbf308 fe12d0f8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -274,9 +274,11 @@ class WallpaperController {
    void hideDeferredWallpapersIfNeededLegacy() {
        for (int i = mWallpaperTokens.size() - 1; i >= 0; i--) {
            final WallpaperWindowToken token = mWallpaperTokens.get(i);
            if (!token.isVisibleRequested()) {
                token.commitVisibility(false);
            }
        }
    }

    void hideWallpapers(final WindowState winGoingAway) {
        if (mWallpaperTarget != null