summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2018-06-01 17:11:47 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2018-06-01 18:42:20 +0530
commita54a03aa2fac50c997546ea23a3f7f91e6d64c23 (patch)
treef391f7c1dc834dfd1c21aa5f9c8db13438a78c87
parent4edfdd8f3bf39fb578ef61e0c21cd06d0bb8a15d (diff)
FloatingActionButton: Cleanup declaration of TranslucentLayerDrawable class
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r--app/src/main/java/com/wireguard/android/widget/fab/FloatingActionButton.java4
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;
}