From 4b505b38a595da66ebc8728a126bd55de0c65305 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sat, 27 Oct 2018 00:02:59 +0200 Subject: [PATCH] Remove unneeded parameter --- .../kde/kdeconnect/Plugins/MousePadPlugin/MousePadActivity.java | 2 +- .../Plugins/MousePadPlugin/MousePadGestureDetector.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadActivity.java b/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadActivity.java index 058d418b..f1331de6 100644 --- a/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadActivity.java +++ b/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadActivity.java @@ -95,7 +95,7 @@ public class MousePadActivity extends AppCompatActivity implements GestureDetect getWindow().getDecorView().setHapticFeedbackEnabled(true); mDetector = new GestureDetector(this, this); - mMousePadGestureDetector = new MousePadGestureDetector(this, this); + mMousePadGestureDetector = new MousePadGestureDetector(this); mDetector.setOnDoubleTapListener(this); keyListenerView = findViewById(R.id.keyListener); diff --git a/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadGestureDetector.java b/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadGestureDetector.java index 8b5061b9..55a80d19 100644 --- a/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadGestureDetector.java +++ b/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadGestureDetector.java @@ -41,7 +41,7 @@ class MousePadGestureDetector { boolean onDoubleFingerTap(MotionEvent ev); } - MousePadGestureDetector(Context ctx, OnGestureListener gestureListener) { + MousePadGestureDetector(OnGestureListener gestureListener) { if (gestureListener == null) { throw new IllegalArgumentException("gestureListener cannot be null"); }