Fix a crash
This commit is contained in:
@@ -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