summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java
diff options
context:
space:
mode:
authorHarsh Shandilya <harsh@prjkt.io>2018-07-24 22:26:12 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2018-07-26 01:36:53 +0200
commit01706ec0eaacfdfb8bcb4ba37c92ee234e02922e (patch)
tree50dd34eb5e91364eb568eb42a4e0ed29a73c7264 /app/src/main/java
parent07de269d65ec69dc1b86fac04f7f43231ef5e4b1 (diff)
FloatingActionBehaviour: Adjust constructors
Get these in line with the parent class Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
Diffstat (limited to 'app/src/main/java')
-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,