diff options
| author | 2023-06-28 14:34:14 +0000 | |
|---|---|---|
| committer | 2023-06-29 09:32:28 +0000 | |
| commit | 7a5705b3c2106dd1fa2c0484c8a9ff6a92509f1e (patch) | |
| tree | a648889c96a59fa50c72d467a0ef11e1c6c2fd86 /libs/androidfw/FileStream.cpp | |
| parent | c615401f232230e87a95ab735bc52d4076cdf089 (diff) | |
Don't set ImageWallpaper to home only the first time
CL only effective if lockscreen live wallpaper are not enabled.
The first time, setting a wallpaper on home only will
trigger a migration of the default wallpaper, which causes some
problems when the lockscreen live wallpaper flag is not enabled.
In that case, force the wallpaper to be set on home + lock, to make sure
the lock screen doesn't end up without any wallpaper.
Bug: b/279129369
Test: manually check that the bug is fixed
Test: atest WallpaperManagerTest
Change-Id: Id955a8336455b47a8ba30958f25f2fd276fee013
Merged-In: Id955a8336455b47a8ba30958f25f2fd276fee013
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions