summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-03-09 09:30:23 +0000
committer Riddle Hsu <riddlehsu@google.com> 2023-03-09 09:38:57 +0000
commit4fb6cb28969f40b4d81769fd9d486f7fdcc783f9 (patch)
tree79145ea0b31388238afa84e2b3a1dfe84b857275 /libs/androidfw/misc.cpp
parent9f72455485cab50e5723ea50ad9d106bdf3034da (diff)
Report pending change to wallpaper when being visible
Configuration change will make mLastConfigReportedToClient true. But if the window is invisible, updateResizingWindowIfNeeded may be skipped by isGoneForLayout. So if it becomes visible later, request a traversal to dispatch the change and then the client window (wallpaper) can redraw with the latest state. Fix: 261988495 Test: WallpaperControllerTests#testWallpaperReportConfigChange Change-Id: I7f43811ac6d0582e9b904ad3cad7d98e1605877a
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions