Fix a crash
This commit is contained in:
@@ -14,7 +14,7 @@ buildscript {
|
||||
dependencies {
|
||||
classpath(kotlin("gradle-plugin", kotlinVersion))
|
||||
classpath("com.android.tools.build:gradle:4.1.0-beta04")
|
||||
classpath("com.github.ben-manes:gradle-versions-plugin:0.28.0")
|
||||
classpath("com.github.ben-manes:gradle-versions-plugin:0.29.0")
|
||||
classpath("com.google.firebase:firebase-crashlytics-gradle:2.2.0")
|
||||
classpath("com.google.android.gms:oss-licenses-plugin:0.10.2")
|
||||
classpath("com.google.gms:google-services:4.3.3")
|
||||
|
||||
@@ -11,6 +11,7 @@ plugins {
|
||||
android {
|
||||
val javaVersion = JavaVersion.VERSION_1_8
|
||||
val targetSdk = 29
|
||||
buildToolsVersion("30.0.1")
|
||||
compileOptions {
|
||||
isCoreLibraryDesugaringEnabled = true
|
||||
sourceCompatibility = javaVersion
|
||||
|
||||
@@ -71,7 +71,7 @@ class RootSession : AutoCloseable {
|
||||
RootSession()
|
||||
}
|
||||
revertCommands.forEach { shell.submit(it) }
|
||||
} catch (e: RuntimeException) { // if revert fails, it should fail silently
|
||||
} catch (e: Exception) { // if revert fails, it should fail silently
|
||||
Timber.d(e)
|
||||
} finally {
|
||||
revertCommands.clear()
|
||||
|
||||
Reference in New Issue
Block a user