Enable dither on the gradient painter.

fork-5.53.8
Alex Hart 2021-01-26 11:43:45 -04:00 zatwierdzone przez Alan Evans
rodzic 5852a508aa
commit 458941f952
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -165,7 +165,7 @@ final class GradientChatWallpaper implements ChatWallpaper, Parcelable {
private final float[] positions;
private final Rect fillRect = new Rect();
private final Paint fillPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
private final Paint fillPaint = new Paint(Paint.ANTI_ALIAS_FLAG | Paint.DITHER_FLAG);
private RotatableGradientDrawable(float degrees, int[] colors, @Nullable float[] positions) {
this.degrees = degrees + 225f;