summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com/wireguard
diff options
context:
space:
mode:
authorHarsh Shandilya <harsh@prjkt.io>2018-06-01 17:11:47 +0530
committerHarsh Shandilya <harsh@prjkt.io>2018-06-01 18:42:20 +0530
commitec92769588186e147462a02078041bca1588987d (patch)
treef391f7c1dc834dfd1c21aa5f9c8db13438a78c87 /app/src/main/java/com/wireguard
parent8e6d5a2aaed48cb426016100dfc504d687dc79e7 (diff)
FloatingActionButton: Cleanup declaration of TranslucentLayerDrawable class
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
Diffstat (limited to 'app/src/main/java/com/wireguard')
-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;
}