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

Commit 41fd188f authored by Steven Ng's avatar Steven Ng
Browse files

Set the wallpaper connection when migrating from system to lock wallpaper

Problem:
The `WPMS#updateFallbackConnection` function isn't reliably updating fallback wallpapers on all displays. This is because when a static home/lock wallpaper changes to a static lock-only wallpaper, the `mLastLockWallpaper` connection isn't properly linked during the initial update in `migrateStaticSystemToLockWallpaperLocked`, leading to an inconsistent state before the `WallpaperDestinationChangeHandler#complete` links the connection.

Solution:
Set the lock wallpaper connection in `migrateStaticSystemToLockWallpaperLocked`

Test: atest FrameworksMockingServicesTests:WallpaperManagerServiceTests
Flag: EXEMPTED small bug fix
Fix: 420579203
Change-Id: I87dd0fbd0e67301b44e0b78e3da72dc7fa075ffd
parent f59abc3d
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