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

Commit 9130229c authored by Shan Huang's avatar Shan Huang
Browse files

Tweak dark area thresholds.

Bug: 185890335
Test: Manual
Change-Id: Iee125b21cd742ebe5895a407a8062e8826a72931
parent fb127be7
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;