diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2018-06-01 17:11:47 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2018-06-01 18:42:20 +0530 |
commit | a54a03aa2fac50c997546ea23a3f7f91e6d64c23 (patch) | |
tree | f391f7c1dc834dfd1c21aa5f9c8db13438a78c87 /app/src/main/java/com | |
parent | 4edfdd8f3bf39fb578ef61e0c21cd06d0bb8a15d (diff) |
FloatingActionButton: Cleanup declaration of TranslucentLayerDrawable class
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/java/com')
-rw-r--r-- | app/src/main/java/com/wireguard/android/widget/fab/FloatingActionButton.java | 4 |
1 files 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; } |