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

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

Update visible requested of wallpaper with target

Now if the wallpaper target's visibility is changed, it will request
to update wallpaper target. And uses the visible-requested of the
current target to update wallpaper's visible-requested.

This removes invisible-request in commitVisibleWallpapers because
it may make wallpaper invisible unexpectedly with the condition:
Wallpaper target is visible but it is not in mParticipants.

Bug: 355596979
Bug: 354459548
Flag: com.android.window.flags.ensure_wallpaper_in_transitions
Test: WallpaperControllerTests#testWallpaperTokenVisibilityWithTarget

Change-Id: I516efc9c4904585d9d7873e568104d4c2b13bfcf
parent 7ad12f9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment