From a54a03aa2fac50c997546ea23a3f7f91e6d64c23 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 1 Jun 2018 17:11:47 +0530 Subject: [PATCH] FloatingActionButton: Cleanup declaration of TranslucentLayerDrawable class Signed-off-by: Harsh Shandilya --- .../wireguard/android/widget/fab/FloatingActionButton.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }