We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4287d67 + cc8f4ba commit a63912cCopy full SHA for a63912c
library/src/main/java/com/dd/CircularProgressDrawable.java
@@ -1,5 +1,6 @@
1
package com.dd;
2
3
+import android.annotation.SuppressLint;
4
import android.graphics.Canvas;
5
import android.graphics.ColorFilter;
6
import android.graphics.Paint;
@@ -54,9 +55,10 @@ public void setAlpha(int alpha) {
54
55
public void setColorFilter(ColorFilter cf) {
56
}
57
58
+ @SuppressLint("WrongConstant")
59
@Override
60
public int getOpacity() {
- return 1;
61
+ return 1; // why ?
62
63
64
private RectF mRectF;
0 commit comments