summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2018-07-24 22:26:12 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2018-07-26 01:36:53 +0200
commitb364221c93f225803d5affdd28c2e9fc6e64e70e (patch)
tree50dd34eb5e91364eb568eb42a4e0ed29a73c7264
parentb8052bd8fb09b1c5f5cb38cc1d4716368583368c (diff)
FloatingActionBehaviour: Adjust constructors
Get these in line with the parent class Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r--app/src/main/java/com/wireguard/android/widget/fab/FloatingActionButtonBehavior.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionButtonBehavior.java b/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionButtonBehavior.java
index 6bc25191..8067728e 100644
--- a/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionButtonBehavior.java
+++ b/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionButtonBehavior.java
@@ -13,8 +13,9 @@ import android.util.AttributeSet;
import android.view.View;
public class FloatingActionButtonBehavior extends CoordinatorLayout.Behavior<FloatingActionsMenu> {
-
- public FloatingActionButtonBehavior(final Context context, final AttributeSet attrs) { }
+ public FloatingActionButtonBehavior(final Context context, final AttributeSet attrs) {
+ super(context, attrs);
+ }
@Override
public boolean layoutDependsOn(final CoordinatorLayout parent, final FloatingActionsMenu child,