build: update Kotlin and SDKs (#173)

This commit is contained in:
Patryk Miś 2022-10-11 15:47:14 +02:00 committed by GitHub
parent 7c4fb0a3dd
commit bd44e4cdc4

View File

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