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

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

Merge "Change order of isVisible and setVisibility" into main

parents a5402613 2f769171
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -335,13 +335,13 @@ class WallpaperController {
        }
        }
        for (int i = mWallpaperTokens.size() - 1; i >= 0; i--) {
        for (int i = mWallpaperTokens.size() - 1; i >= 0; i--) {
            final WallpaperWindowToken token = mWallpaperTokens.get(i);
            final WallpaperWindowToken token = mWallpaperTokens.get(i);
            token.setVisibility(false);
            if (token.isVisible()) {
            if (token.isVisible()) {
                ProtoLog.d(WM_DEBUG_WALLPAPER,
                ProtoLog.d(WM_DEBUG_WALLPAPER,
                        "Hiding wallpaper %s from %s target=%s prev=%s callers=%s",
                        "Hiding wallpaper %s from %s target=%s prev=%s callers=%s",
                        token, winGoingAway, mWallpaperTarget, mPrevWallpaperTarget,
                        token, winGoingAway, mWallpaperTarget, mPrevWallpaperTarget,
                        Debug.getCallers(5));
                        Debug.getCallers(5));
            }
            }
            token.setVisibility(false);
        }
        }
    }
    }