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

Commit c535be17 authored by Daniel Nishi's avatar Daniel Nishi
Browse files

Add a flag to toggle how much the storage manager should retain.

This flag is used to set how many days of storage the automatic
storage manager will retain when clearing data.

Bug: 28965462
Change-Id: I87afafb7d3252d8c390ea43b7c45fd923f911e4e
parent bc640cb0
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -6245,6 +6245,21 @@ public final class Settings {
        public static final String AUTOMATIC_STORAGE_MANAGER_ENABLED =
                "automatic_storage_manager_enabled";

        /**
         * How many days of information for the automatic storage manager to retain on the device.
         *
         * @hide
         */
        public static final String AUTOMATIC_STORAGE_MANAGER_DAYS_TO_RETAIN =
                "automatic_storage_manager_days_to_retain";

        /**
         * Default number of days of information for the automatic storage manager to retain.
         *
         * @hide
         */
        public static final int AUTOMATIC_STORAGE_MANAGER_DAYS_TO_RETAIN_DEFAULT = 90;

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