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 34a6829aaf
commit 07acc4dc1f
3 changed files with 6 additions and 6 deletions

View File

@ -7,14 +7,14 @@ plugins {
}
android {
compileSdk = 32
buildToolsVersion = "32.0.0"
compileSdk = 33
buildToolsVersion = "33.0.0"
namespace = "app.revanced.integrations"
defaultConfig {
applicationId = "app.revanced.integrations"
minSdk = 23
targetSdk = 32
targetSdk = 33
versionCode = 1
versionName = "1.0"
multiDexEnabled = false

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