Update dependencies

This commit is contained in:
topjohnwu 2020-08-08 04:11:54 -07:00
parent 7fc9b908d4
commit fe2388394d
2 changed files with 7 additions and 6 deletions

View File

@ -98,7 +98,7 @@ dependencies {
implementation("io.noties.markwon:image:${vMarkwon}") implementation("io.noties.markwon:image:${vMarkwon}")
implementation("com.caverock:androidsvg:1.4") implementation("com.caverock:androidsvg:1.4")
val vLibsu = "2.6.0" val vLibsu = "3.0.1"
implementation("com.github.topjohnwu.libsu:core:${vLibsu}") implementation("com.github.topjohnwu.libsu:core:${vLibsu}")
implementation("com.github.topjohnwu.libsu:io:${vLibsu}") implementation("com.github.topjohnwu.libsu:io:${vLibsu}")
@ -134,7 +134,7 @@ dependencies {
implementation("androidx.navigation:navigation-ui-ktx:${Deps.vNav}") implementation("androidx.navigation:navigation-ui-ktx:${Deps.vNav}")
implementation("androidx.biometric:biometric:1.0.1") implementation("androidx.biometric:biometric:1.0.1")
implementation("androidx.constraintlayout:constraintlayout:2.0.0-beta8") implementation("androidx.constraintlayout:constraintlayout:2.0.0-rc1")
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0") implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
implementation("androidx.browser:browser:1.2.0") implementation("androidx.browser:browser:1.2.0")
implementation("androidx.preference:preference:1.1.1") implementation("androidx.preference:preference:1.1.1")
@ -145,5 +145,5 @@ dependencies {
implementation("androidx.multidex:multidex:2.0.1") implementation("androidx.multidex:multidex:2.0.1")
implementation("androidx.core:core-ktx:1.3.1") implementation("androidx.core:core-ktx:1.3.1")
implementation("androidx.localbroadcastmanager:localbroadcastmanager:1.0.0") implementation("androidx.localbroadcastmanager:localbroadcastmanager:1.0.0")
implementation("com.google.android.material:material:1.2.0-rc01") implementation("com.google.android.material:material:1.2.0")
} }

View File

@ -31,9 +31,10 @@ open class App() : Application() {
init { init {
AppCompatDelegate.setCompatVectorFromResourcesEnabled(true) AppCompatDelegate.setCompatVectorFromResourcesEnabled(true)
Shell.Config.setFlags(Shell.FLAG_MOUNT_MASTER) Shell.setDefaultBuilder(Shell.Builder.create()
Shell.Config.setInitializers(RootInit::class.java) .setFlags(Shell.FLAG_MOUNT_MASTER)
Shell.Config.setTimeout(2) .setInitializers(RootInit::class.java)
.setTimeout(2))
Shell.EXECUTOR = IODispatcherExecutor() Shell.EXECUTOR = IODispatcherExecutor()
FileProvider.callHandler = SuCallbackHandler FileProvider.callHandler = SuCallbackHandler