Update dependencies

This commit is contained in:
topjohnwu
2019-09-12 12:50:44 -04:00
parent 3d7ed5820e
commit 3f057367e3
3 changed files with 8 additions and 10 deletions

View File

@@ -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))