mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-03 09:21:57 +00:00
Update dependencies
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user