Merge "Set wallpaper to invisible only if it is not visible-requested" into sc-dev
This commit is contained in:
@@ -274,7 +274,9 @@ class WallpaperController {
|
||||
void hideDeferredWallpapersIfNeededLegacy() {
|
||||
for (int i = mWallpaperTokens.size() - 1; i >= 0; i--) {
|
||||
final WallpaperWindowToken token = mWallpaperTokens.get(i);
|
||||
token.commitVisibility(false);
|
||||
if (!token.isVisibleRequested()) {
|
||||
token.commitVisibility(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user