Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 93bac733 authored by Aurélien Pomini's avatar Aurélien Pomini
Browse files

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
parent 8bf9e5e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment