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:
@@ -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);
|
||||
|
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user