2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 21:55:10 +00:00

Remove unneeded parameter

This commit is contained in:
Nicolas Fella
2018-10-27 00:02:59 +02:00
parent 10c552a6f4
commit 4b505b38a5
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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");
}