Prevent reboots by default

This commit is contained in:
Fox2Code 2022-06-03 16:33:38 +02:00
parent 039480ebb0
commit 7757f6f892
2 changed files with 2 additions and 2 deletions

View File

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

View File

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