From 9dab90eb97f501f7f6fa4962783d0bfdf3cff48c Mon Sep 17 00:00:00 2001 From: flawedworld Date: Wed, 29 Mar 2023 18:23:41 +0000 Subject: [PATCH] Default to automatically rebooting device after 72 hours --- core/java/android/ext/settings/ExtSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/ext/settings/ExtSettings.java b/core/java/android/ext/settings/ExtSettings.java index 854a83520c5f..95357db151ad 100644 --- a/core/java/android/ext/settings/ExtSettings.java +++ b/core/java/android/ext/settings/ExtSettings.java @@ -17,7 +17,7 @@ public class ExtSettings { Setting.Scope.PER_USER, "auto_grant_OTHER_SENSORS_perm", true); public static final IntSetting AUTO_REBOOT_TIMEOUT = new IntSetting( - Setting.Scope.GLOBAL, "settings_reboot_after_timeout", 0); + Setting.Scope.GLOBAL, "settings_reboot_after_timeout", 259200000); public static final BoolSetting SCREENSHOT_TIMESTAMP_EXIF = new BoolSetting( Setting.Scope.PER_USER, "screenshot_timestamp_exif", false);