Permalink
Browse files

Added SuppressLint for Range

Summary: Added SuppressLint for alpha values

Reviewed By: oprisnik

Differential Revision: D4313060

fbshipit-source-id: d49a52135cda2bbfe44e9370ed2d51d33f7b3f67
  • Loading branch information...
1 parent d187230 commit 5a2d5cf41d51c91916f013c93f3a655a6f76f79f @massimocarli massimocarli committed with Facebook Github Bot Dec 12, 2016
@@ -12,6 +12,7 @@
import java.io.IOException;
+import android.annotation.SuppressLint;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Rect;
@@ -144,6 +145,7 @@ public T getAnimationBackend() {
return mAnimationBackend;
}
+ @SuppressLint("Range")
private void applyBackendSettings(AnimationBackend backend) {
if (mBounds != null) {
backend.setBounds(mBounds);
@@ -9,6 +9,7 @@
package com.facebook.drawee.drawable;
+import android.annotation.SuppressLint;
import android.graphics.ColorFilter;
import android.graphics.drawable.Drawable;
@@ -43,6 +44,7 @@ public void setFilterBitmap(boolean filterBitmap) {
mFilterBitmap = filterBitmap ? 1 : 0;
}
+ @SuppressLint("Range")
public void applyTo(Drawable drawable) {
if (drawable == null) {
return;

0 comments on commit 5a2d5cf

Please sign in to comment.