diff options
| author | 2023-06-08 12:58:20 +0000 | |
|---|---|---|
| committer | 2023-06-09 13:02:05 +0000 | |
| commit | f8af5a2f54c612c44aa33a17821b495a251bfedb (patch) | |
| tree | ae8d39261f8a5ca5fb13c982f72be74ded060dc5 /libs/androidfw/ApkParsing.cpp | |
| parent | a5dc9ce04a88cbf73f4350b0415a3f3f82ff625a (diff) | |
Clear lock bitmaps when wallpaper applied to home+lock
Let's never keep old bitmap in files. Otherwise if a user has a live
wallpaper on lock screen only, and backups & restore to an older device,
the old bitmap will reappear. Also otherwise, getWallpaperFile() may
return an old bitmap even if the user has a lockscreen live wallpaper.
Only effective with the lockscreen lwp flag
Flag: lockscreen live wallpaper
Bug: 283091821
Test: atest WallpaperManagerTest
Change-Id: I8cd9af52e1a5f3a0388b3af22ab6c8c441520a8e
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions