summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Aurélien Pomini <pomini@google.com> 2024-03-07 16:05:36 +0000
committer Aurélien Pomini <pomini@google.com> 2024-03-07 16:05:36 +0000
commit93bac73377af4d55f17bc5e34409a57132241c83 (patch)
tree6a75acaf69bba0ec49456226cce6087be441598b /libs/androidfw/misc.cpp
parent8bf9e5e1c7c24cd10e5b4c001f8f433a7e06c243 (diff)
Don't send color events when dim doesn't change
Things (battery saver in our case) sometimes call setWallpaperDimAmount and the call doesn't affect the dim. In that case, skip recomputing colors and sending color events. This mostly deflakes WallpaperManagerTest, but may spare useless computations in some cases. Flag: NA Bug: 326189127 Test: atest WallpaperManagerTest Change-Id: I5e101d012b18420bfa5b579db78b33300bfb1659
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions