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

Commit f0667d29 authored by Aurélien Pomini's avatar Aurélien Pomini Committed by Android (Google) Code Review
Browse files

Merge "Don't send color events when dim doesn't change" into main

parents ab1d3e09 93bac733
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2691,6 +2691,7 @@ public class WallpaperManagerService extends IWallpaperManager.Stub
                }

                float maxDimAmount = getHighestDimAmountFromMap(wallpaper.mUidToDimAmount);
                if (wallpaper.mWallpaperDimAmount == maxDimAmount) return;
                wallpaper.mWallpaperDimAmount = maxDimAmount;
                // Also set the dim amount to the lock screen wallpaper if the lock and home screen
                // do not share the same wallpaper