Skip to content
Commit c187b71d authored by Aurélien Pomini's avatar Aurélien Pomini
Browse files

Adapt Wallpaper backup for lockscreen lwp

Starting from U-QPR1, users can set a live wallpaper on the lock screen
only. The feature is gated through the flag
WallpaperManager.isLockscreenLiveWallpaperEnabled. This CL adapts the
backup and restore logic accordingly when the flag is true. It should
have no effect when the flag is false.

Note: if a post u-qpr backup contains a lockscreen only live wallpaper,
and gets restored to an older device not supporting lockscreen live
wallpapers, the lockscreen wallpaper will be ignored and the home
wallpaper will be applied to home+lock.

Bug: 283091821
Test: backup & restore manually with two live wallpapers
Test: atest WallpaperBackupAgentTest
Change-Id: I98f847c97f42eb65fa626bf601e75daf15d59a45
parent bc34c323
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