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

Commit f0bc8660 authored by Allison Babick's avatar Allison Babick
Browse files

Add user-modifiable downloads backup conditions.

Add the user-modifiable fields to Settings.Secure.

Bug: 29829743
Change-Id: Ic56523948974974b11b114fb5fca1517414f3728
parent bb3a0004
Loading
Loading
Loading
Loading
+20 −4
Original line number Diff line number Diff line
@@ -6302,6 +6302,13 @@ public final class Settings {
        public static final String AUTOMATIC_STORAGE_MANAGER_LAST_RUN =
                "automatic_storage_manager_last_run";

        /**
         * Whether SystemUI navigation keys is enabled.
         * @hide
         */
        public static final String SYSTEM_NAVIGATION_KEYS_ENABLED =
                "system_navigation_keys_enabled";

        /**
         * Whether Downloads folder backup is enabled and should run on the device.
         *
@@ -6310,12 +6317,21 @@ public final class Settings {
        public static final String DOWNLOADS_BACKUP_ENABLED = "downloads_backup_enabled";
        
        /**
         * Whether SystemUI navigation keys is enabled.
         * Whether Downloads folder backup should only occur if the device is using a metered
         * network.
         *
         * @hide
         */
        public static final String SYSTEM_NAVIGATION_KEYS_ENABLED =
                "system_navigation_keys_enabled";
        public static final String DOWNLOADS_BACKUP_ALLOW_METERED =
                "downloads_backup_allow_metered";

        /**
         * Whether Downloads folder backup should only occur if the device is charging.
         *
         * @hide
         */
        public static final String DOWNLOADS_BACKUP_CHARGING_ONLY =
                "downloads_backup_charging_only";

        /**
         * This are the settings to be backed up.