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

Commit 35a18790 authored by Shan Huang's avatar Shan Huang Committed by Android (Google) Code Review
Browse files

Merge "Tweak dark area thresholds." into sc-dev

parents 127ea4fa 9130229c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ public final class WallpaperColors implements Parcelable {
    // We also check if the image has dark pixels in it,
    // to avoid bright images with some dark spots.
    private static final float DARK_PIXEL_CONTRAST = 5.5f;
    private static final float MAX_DARK_AREA = 0.025f;
    private static final float MAX_DARK_AREA = 0.05f;

    private final List<Color> mMainColors;
    private final Map<Integer, Integer> mAllColors;