Skip to content

Commit

Permalink
Merge pull request #98 from hannesa2/IgnoreLintError
Browse files Browse the repository at this point in the history
Ignore Lint error
  • Loading branch information
hannesa2 authored Oct 5, 2021
2 parents 4287d67 + cc8f4ba commit a63912c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/src/main/java/com/dd/CircularProgressDrawable.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.dd;

import android.annotation.SuppressLint;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Paint;
Expand Down Expand Up @@ -54,9 +55,10 @@ public void setAlpha(int alpha) {
public void setColorFilter(ColorFilter cf) {
}

@SuppressLint("WrongConstant")
@Override
public int getOpacity() {
return 1;
return 1; // why ?
}

private RectF mRectF;
Expand Down

0 comments on commit a63912c

Please sign in to comment.