Merge "Set wallpaper to invisible only if it is not visible-requested" into sc-dev am: 5b605bb1bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14048552 Change-Id: Idb6f9e5f9b4221e8da4a269845f9b2cebd9e42fa
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