From bd44e4cdc428ff2e48b92283370ec90f5ff9aea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Mi=C5=9B?= Date: Tue, 11 Oct 2022 15:47:14 +0200 Subject: [PATCH] build: update Kotlin and SDKs (#173) --- .../controller/gesture/ClassicSwipeController.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/java/app/revanced/integrations/swipecontrols/controller/gesture/ClassicSwipeController.kt b/integrations/java/app/revanced/integrations/swipecontrols/controller/gesture/ClassicSwipeController.kt index 7e2185783..52f937d6a 100644 --- a/integrations/java/app/revanced/integrations/swipecontrols/controller/gesture/ClassicSwipeController.kt +++ b/integrations/java/app/revanced/integrations/swipecontrols/controller/gesture/ClassicSwipeController.kt @@ -70,7 +70,7 @@ class ClassicSwipeController( return false } - override fun onDoubleTapEvent(motionEvent: MotionEvent?): Boolean { + override fun onDoubleTapEvent(motionEvent: MotionEvent): Boolean { MotionEvent.obtain(motionEvent).let { controller.dispatchDownstreamTouchEvent(it) it.recycle() @@ -79,7 +79,7 @@ class ClassicSwipeController( return super.onDoubleTapEvent(motionEvent) } - override fun onLongPress(motionEvent: MotionEvent?) { + override fun onLongPress(motionEvent: MotionEvent) { MotionEvent.obtain(motionEvent).let { controller.dispatchDownstreamTouchEvent(it) it.recycle()