mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Enable dither on the gradient painter.
This commit is contained in:
@@ -165,7 +165,7 @@ final class GradientChatWallpaper implements ChatWallpaper, Parcelable {
|
|||||||
private final float[] positions;
|
private final float[] positions;
|
||||||
|
|
||||||
private final Rect fillRect = new Rect();
|
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) {
|
private RotatableGradientDrawable(float degrees, int[] colors, @Nullable float[] positions) {
|
||||||
this.degrees = degrees + 225f;
|
this.degrees = degrees + 225f;
|
||||||
|
|||||||
Reference in New Issue
Block a user