summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.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:19:13 +0000
commit1e68053f67a6f91da7fc946be547d4ee3e892708 (patch)
treedf6709f9fa045ab7b07c0f92765ac76df414a1e8 /libs/androidfw/FileStream.cpp
parent11d6424adc403c27c027117a43384837a0c272a1 (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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions