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

Commit 7384995c authored by Alice Sheng's avatar Alice Sheng Committed by Android (Google) Code Review
Browse files

Merge "Add setting for disabling swap." into pi-dev

parents 991b971a b32b1ad3
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -12482,6 +12482,16 @@ public final class Settings {
         */
        public static final String BACKUP_AGENT_TIMEOUT_PARAMETERS =
                "backup_agent_timeout_parameters";

        /**
         * Whether we have enabled swapping on this device. For Wear, default is
         * enabled.
         *
         * The value is "1" for enable, "0" for disable.
         * @hide
         */
         public static final String SWAP_ENABLED = "swap_enabled";

    }

    /**
+1 −0
Original line number Diff line number Diff line
@@ -377,6 +377,7 @@ public class SettingsBackupTest {
                    Settings.Global.SQLITE_COMPATIBILITY_WAL_FLAGS,
                    Settings.Global.STORAGE_BENCHMARK_INTERVAL,
                    Settings.Global.STORAGE_SETTINGS_CLOBBER_THRESHOLD,
                    Settings.Global.SWAP_ENABLED,
                    Settings.Global.SYNC_MANAGER_CONSTANTS,
                    Settings.Global.SYNC_MAX_RETRY_DELAY_IN_SECONDS,
                    Settings.Global.SYS_FREE_STORAGE_LOG_INTERVAL,