From ec92769588186e147462a02078041bca1588987d Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 1 Jun 2018 17:11:47 +0530 Subject: FloatingActionButton: Cleanup declaration of TranslucentLayerDrawable class Signed-off-by: Harsh Shandilya --- .../java/com/wireguard/android/widget/fab/FloatingActionButton.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src') diff --git a/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionButton.java b/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionButton.java index d132be59..de9b8f37 100644 --- a/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionButton.java +++ b/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionButton.java @@ -415,10 +415,10 @@ public class FloatingActionButton extends AppCompatImageButton { public @interface FAB_SIZE { } - private static class TranslucentLayerDrawable extends LayerDrawable { + private static final class TranslucentLayerDrawable extends LayerDrawable { private final int mAlpha; - public TranslucentLayerDrawable(final int alpha, final Drawable... layers) { + private TranslucentLayerDrawable(final int alpha, final Drawable... layers) { super(layers); mAlpha = alpha; } -- cgit v1.2.3