Reduce number of maximum clusters

Bug: 183392558
Test: manual
Change-Id: I7a28c319e44700f4fc6367cfe6aac615b13b977d
This commit is contained in:
Lucas Dupin
2021-03-22 16:34:26 -07:00
parent 406c9fb61c
commit 1291155196

View File

@@ -189,7 +189,7 @@ public final class WallpaperColors implements Parcelable {
} else {
palette = Palette
.from(bitmap, new CelebiQuantizer())
.maximumColorCount(256)
.maximumColorCount(5)
.resizeBitmapArea(MAX_WALLPAPER_EXTRACTION_AREA)
.generate();
}