Oh, it's so buttery...

Running out of stuff to fix.  👯
This commit is contained in:
d8ahazard
2016-09-23 23:25:12 -05:00
parent bee9be534c
commit 5b2dce6cf6
15 changed files with 214 additions and 164 deletions
@@ -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);