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

Commit 4dfb200d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Default gradient should be the dark version" into oc-dr1-dev

parents d5f442d6 78d4afff
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -97,14 +97,14 @@ public class ColorExtractor implements WallpaperManager.OnColorsChangedListener
    }

    /**
     * Retrieve TYPE_NORMAL gradient colors considering wallpaper visibility.
     * Retrieve gradient colors for a specific wallpaper.
     *
     * @param which FLAG_LOCK or FLAG_SYSTEM
     * @return colors
     */
    @NonNull
    public GradientColors getColors(int which) {
        return getColors(which, TYPE_NORMAL);
        return getColors(which, TYPE_DARK);
    }

    /**