Skip to content

Commit a63912c

Browse files
authored
Merge pull request #98 from hannesa2/IgnoreLintError
Ignore Lint error
2 parents 4287d67 + cc8f4ba commit a63912c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

library/src/main/java/com/dd/CircularProgressDrawable.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.dd;
22

3+
import android.annotation.SuppressLint;
34
import android.graphics.Canvas;
45
import android.graphics.ColorFilter;
56
import android.graphics.Paint;
@@ -54,9 +55,10 @@ public void setAlpha(int alpha) {
5455
public void setColorFilter(ColorFilter cf) {
5556
}
5657

58+
@SuppressLint("WrongConstant")
5759
@Override
5860
public int getOpacity() {
59-
return 1;
61+
return 1; // why ?
6062
}
6163

6264
private RectF mRectF;

0 commit comments

Comments
 (0)