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

Commit 336d21b4 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Gate Wallpaper logic around Monet flag

There's no need to register those listeners when the feature is disabled

Test: make
Fixes: 180254189
Change-Id: I93e576640c820652f4e75d2964a7ee45e82fe93a
parent 44765a6a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -155,6 +155,11 @@ public class ThemeOverlayController extends SystemUI implements Dumpable {
                },
                UserHandle.USER_ALL);

        // All wallpaper color and keyguard logic only applies when Monet is enabled.
        if (!mIsMonetEnabled) {
            return;
        }

        // Upon boot, make sure we have the most up to date colors
        mBgExecutor.execute(() -> {
            WallpaperColors lockColors = mWallpaperManager.getWallpaperColors(