summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Aurélien Pomini <pomini@google.com> 2023-06-19 12:45:01 +0000
committer Aurélien Pomini <pomini@google.com> 2023-09-12 19:13:08 +0000
commiteb6a4fde731454b8e8b469a5de58683efd1731b6 (patch)
treec59b8839994a0978aac236da18db5961cf70d5dd /libs/androidfw/ApkParsing.cpp
parenteabfd2281dfa777d8b7e10619f7e014cc56d3168 (diff)
Reland "use new clearWallpaperLocked method everywhere"
Reland of ag/23728650 The old clear method had a lot of references. Replace these references with a call to the new clear method. Now, everything that tries to clear the wallpaper will call setWallpaperComponent(..) and not directly bindWallpaperComponentLocked. We add two new arguments to setWallpaperComponentInternal: a callback, and a boolean to forceRebind. Clearing will call setWallpaperComponentInternal with forceRebind = true unless we're clearing FLAG_LOCK only, in which case we just reuse the existing home wallpaper without rebinding anything. Flag: lockscreen live wallpaper Bug: 298366419 Test: atest WallpaperManagerTest Change-Id: Iba71f250b59b08814033eb9364613c96b15ea966 Merged-In: Iba71f250b59b08814033eb9364613c96b15ea966
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions