Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 668b5ca9 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add setting for off body, radio off feature"

parents 8006a272 50b61107
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -10592,6 +10592,23 @@ public final class Settings {
        public static final String FORCED_APP_STANDBY_FOR_SMALL_BATTERY_ENABLED
                = "forced_app_standby_for_small_battery_enabled";

        /**
         * Whether or not to enable the Off Body, Radios Off feature on small battery devices.
         * Type: int (0 for false, 1 for true)
         * Default: 0
         * @hide
         */
        public static final String OFF_BODY_RADIOS_OFF_FOR_SMALL_BATTERY_ENABLED
                = "off_body_radios_off_for_small_battery_enabled";

        /**
         * How long after the device goes off body to disable radios, in milliseconds.
         * Type: long
         * Default: 10 minutes
         * @hide
         */
        public static final String OFF_BODY_RADIOS_OFF_DELAY_MS = "off_body_radios_off_delay_ms";

        /**
         * Whether or not to enable Time Only Mode for watch type devices.
         * Type: int (0 for false, 1 for true)
+2 −0
Original line number Diff line number Diff line
@@ -314,6 +314,8 @@ public class SettingsBackupTest {
                    Settings.Global.NTP_SERVER,
                    Settings.Global.NTP_TIMEOUT,
                    Settings.Global.OTA_DISABLE_AUTOMATIC_UPDATE,
                    Settings.Global.OFF_BODY_RADIOS_OFF_FOR_SMALL_BATTERY_ENABLED,
                    Settings.Global.OFF_BODY_RADIOS_OFF_DELAY_MS,
                    Settings.Global.OVERLAY_DISPLAY_DEVICES,
                    Settings.Global.PAC_CHANGE_DELAY,
                    Settings.Global.PACKAGE_VERIFIER_DEFAULT_RESPONSE,