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

Skip to content
Commit a28a2fce authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent f33a94ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment