Respect visible-requested of wallpaper token
This partially reverts [1]. This avoids an invisible wallpaper (when there are multiple wallpapers, the bottom one is occluded by the top one) becomes visible unexpectedly by anyone requested to show wallpaper. The true case of isVisibleRequested() should be trust-able because currently WallpaperController keeps the wallpaper target when the wallpaper requester is in transition even if the requester is invisible-requested. And if the wallpaper target is valid, the visible-request of wallpaper token will be also true. On the other hand, because visible-requested of wallpaper token tends to be true, the condition to make invisible-request with invisible-requested wallpaper target still needs to preserve. [1]: Ibc149a038a79273b1179f8ea157b1e87234b1e8b Bug: 353655514 Flag: EXEMPT bugfix Test: Set different wallpapers for home and lockscreen. Enable home rotation and rotated device. The lockscreen wallpaper should not be visible. Change-Id: Iaae015aa09758c2d064c8e1776859952d5006f78
Loading
Please register or sign in to comment