From 3f057367e34f09bfdb81a1ce446b2129bdb65db7 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Thu, 12 Sep 2019 12:50:44 -0400 Subject: [PATCH] Update dependencies --- app/build.gradle | 12 ++++++------ .../java/com/topjohnwu/magisk/utils/RootUtils.kt | 4 +--- signing/build.gradle | 2 +- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 7da5cb375..4b1156ed7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -62,14 +62,14 @@ dependencies { implementation 'com.jakewharton.timber:timber:4.7.1' implementation 'com.github.skoumalcz:teanity:0.3.3' implementation 'com.ncapdevi:frag-nav:3.2.0' - implementation 'com.github.pwittchen:reactivenetwork-rx2:3.0.4' + implementation 'com.github.pwittchen:reactivenetwork-rx2:3.0.6' def vMarkwon = '3.1.0' implementation "ru.noties.markwon:core:${vMarkwon}" implementation "ru.noties.markwon:html:${vMarkwon}" implementation "ru.noties.markwon:image-svg:${vMarkwon}" - def vLibsu = '2.5.0' + def vLibsu = '2.5.1' implementation "com.github.topjohnwu.libsu:core:${vLibsu}" implementation "com.github.topjohnwu.libsu:io:${vLibsu}" @@ -109,11 +109,11 @@ dependencies { implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'androidx.browser:browser:1.0.0' - implementation 'androidx.preference:preference:1.1.0-rc01' - implementation 'androidx.recyclerview:recyclerview:1.1.0-beta03' + implementation 'androidx.preference:preference:1.1.0' + implementation 'androidx.recyclerview:recyclerview:1.1.0-beta04' implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.work:work-runtime:2.2.0' - implementation 'androidx.transition:transition:1.2.0-beta01' + implementation 'androidx.transition:transition:1.2.0-rc01' implementation 'androidx.multidex:multidex:2.0.1' - implementation 'com.google.android.material:material:1.1.0-alpha09' + implementation 'com.google.android.material:material:1.1.0-alpha10' } diff --git a/app/src/main/java/com/topjohnwu/magisk/utils/RootUtils.kt b/app/src/main/java/com/topjohnwu/magisk/utils/RootUtils.kt index 6cbfc75da..11bd46695 100644 --- a/app/src/main/java/com/topjohnwu/magisk/utils/RootUtils.kt +++ b/app/src/main/java/com/topjohnwu/magisk/utils/RootUtils.kt @@ -126,9 +126,7 @@ fun startActivity(intent: Intent) { class RootUtils : Shell.Initializer() { - override fun onInit(context: Context?, shell: Shell): Boolean { - context ?: return false - + override fun onInit(context: Context, shell: Shell): Boolean { val job = shell.newJob() if (shell.isRoot) { job.add(context.rawResource(R.raw.util_functions)) diff --git a/signing/build.gradle b/signing/build.gradle index 4c2b5dae1..6808c87c8 100644 --- a/signing/build.gradle +++ b/signing/build.gradle @@ -34,7 +34,7 @@ repositories { dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') - def bcVer = '1.62' + def bcVer = '1.63' api "org.bouncycastle:bcprov-jdk15on:${bcVer}" api "org.bouncycastle:bcpkix-jdk15on:${bcVer}" }