diff options
Diffstat (limited to 'app/src/main/java/com/wireguard/android/widget/SlashDrawable.java')
-rw-r--r-- | app/src/main/java/com/wireguard/android/widget/SlashDrawable.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/com/wireguard/android/widget/SlashDrawable.java b/app/src/main/java/com/wireguard/android/widget/SlashDrawable.java index bd2da16b..64fe7f73 100644 --- a/app/src/main/java/com/wireguard/android/widget/SlashDrawable.java +++ b/app/src/main/java/com/wireguard/android/widget/SlashDrawable.java @@ -117,6 +117,7 @@ public class SlashDrawable extends Drawable { } }; + @SuppressWarnings("unchecked") public void setSlashed(final boolean slashed) { if (mSlashed == slashed) return; @@ -136,6 +137,7 @@ public class SlashDrawable extends Drawable { } } + @SuppressWarnings("deprecation") @Override public void draw(@NonNull final Canvas canvas) { canvas.save(); |