Update Gradle & PlatformSDK

- Update Android Sdk version to 33
- Update Gradle version to 7.5.1
- Merge legacy code
This commit is contained in:
2022-08-21 22:20:47 +08:00
parent 4f730fb8a1
commit 268cad8fd3
4 changed files with 6 additions and 6 deletions

View File

@@ -16,12 +16,12 @@ android {
}
}
compileSdk 32
compileSdk 33
defaultConfig {
applicationId "com.highcapable.yukihookapi.demo_module"
minSdk 21
targetSdk 32
targetSdk 33
versionCode 1
versionName "1.0"

View File

@@ -50,7 +50,7 @@ class PreferenceActivity : ModuleAppCompatActivity() {
}
override fun onSupportNavigateUp(): Boolean {
onBackPressed()
onBackPressedDispatcher.onBackPressed()
return true
}