You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Oh, it's so buttery...
Running out of stuff to fix. 👯
This commit is contained in:
@@ -16,7 +16,7 @@ public class AutoStartReceiver extends BroadcastReceiver {
|
||||
Intent myIntent = new Intent(context, MonitorService.class);
|
||||
context.startService(myIntent);
|
||||
if (PrefHelper.CheckBool("keep_root_off",context)) {
|
||||
Utils.toggleRoot(false);
|
||||
Utils.toggleRoot(false,context);
|
||||
}
|
||||
if (PrefHelper.CheckBool("enable_quicktile",context)) {
|
||||
Utils.SetupQuickSettingsTile(context);
|
||||
|
||||
@@ -25,11 +25,11 @@ public final class PrivateBroadcastReceiver extends BroadcastReceiver {
|
||||
}
|
||||
if (ACTION_ENABLEROOT.equals(action)) {
|
||||
Utils.toggleAutoRoot(false, context);
|
||||
Utils.toggleRoot(true);
|
||||
Utils.toggleRoot(true,context);
|
||||
}
|
||||
if (ACTION_DISABLEROOT.equals(action)) {
|
||||
Utils.toggleAutoRoot(false, context);
|
||||
Utils.toggleRoot(false);
|
||||
Utils.toggleRoot(false,context);
|
||||
}
|
||||
|
||||
Utils.SetupQuickSettingsTile(context);
|
||||
|
||||
Reference in New Issue
Block a user