mirror of
https://github.com/revanced/revanced-patches
synced 2025-02-15 16:16:49 +01:00
build: update Kotlin and SDKs (#173)
This commit is contained in:
parent
7c4fb0a3dd
commit
bd44e4cdc4
@ -70,7 +70,7 @@ class ClassicSwipeController(
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onDoubleTapEvent(motionEvent: MotionEvent?): Boolean {
|
override fun onDoubleTapEvent(motionEvent: MotionEvent): Boolean {
|
||||||
MotionEvent.obtain(motionEvent).let {
|
MotionEvent.obtain(motionEvent).let {
|
||||||
controller.dispatchDownstreamTouchEvent(it)
|
controller.dispatchDownstreamTouchEvent(it)
|
||||||
it.recycle()
|
it.recycle()
|
||||||
@ -79,7 +79,7 @@ class ClassicSwipeController(
|
|||||||
return super.onDoubleTapEvent(motionEvent)
|
return super.onDoubleTapEvent(motionEvent)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onLongPress(motionEvent: MotionEvent?) {
|
override fun onLongPress(motionEvent: MotionEvent) {
|
||||||
MotionEvent.obtain(motionEvent).let {
|
MotionEvent.obtain(motionEvent).let {
|
||||||
controller.dispatchDownstreamTouchEvent(it)
|
controller.dispatchDownstreamTouchEvent(it)
|
||||||
it.recycle()
|
it.recycle()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user