diff --git a/library/src/main/java/com/dd/CircularProgressDrawable.java b/library/src/main/java/com/dd/CircularProgressDrawable.java index 0ed30d1..b188d39 100644 --- a/library/src/main/java/com/dd/CircularProgressDrawable.java +++ b/library/src/main/java/com/dd/CircularProgressDrawable.java @@ -1,5 +1,6 @@ package com.dd; +import android.annotation.SuppressLint; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.Paint; @@ -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;