mirror of
https://github.com/Fox2Code/FoxMagiskModuleManager
synced 2024-10-30 15:20:15 +00:00
Prevent reboots by default
This commit is contained in:
parent
039480ebb0
commit
7757f6f892
@ -94,7 +94,7 @@ public class MainApplication extends CompatApplication {
|
||||
}
|
||||
|
||||
public static boolean shouldPreventReboot() {
|
||||
return getSharedPreferences().getBoolean("pref_prevent_reboot", false);
|
||||
return getSharedPreferences().getBoolean("pref_prevent_reboot", true);
|
||||
}
|
||||
|
||||
public static boolean isShowIncompatibleModules() {
|
||||
|
@ -103,7 +103,7 @@
|
||||
app:singleLineTitle="false" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="false"
|
||||
app:defaultValue="true"
|
||||
app:key="pref_prevent_reboot"
|
||||
app:icon="@drawable/ic_reboot_24"
|
||||
app:title="@string/prevent_reboot_pref"
|
||||
|
Loading…
Reference in New Issue
Block a user