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

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

Simplify finding wallpapers

Because mWallpaperTokens already contains all wallpaper windows,
it is unnecessary to traverse all windows. Then it can be 10x faster.

By making mWallpaperTokens follow z-order, that also improves the
correctness of getTopVisibleWallpaper.

Remove startWallpaperAnimation by the way as it is dead code for years.

Bug: 163976519
Test: WallpaperControllerTests#testShowWhenLockedWallpaperTarget

Change-Id: Ifa3bf54ebeee049ccc1952884d4a213a2ee9f39d
parent ce8d4a38
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