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

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

Add counters for the automatic storage manager.

In order to attribute storage savings, we log how much data has
been freed and the last time that the automatic storage manager
has run.

Bug: 29643106
Change-Id: Ibb57b44b5e7550d4ab11e95b47db2f5d6599a96f
parent d4ac4c77
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -6269,6 +6269,24 @@ public final class Settings {
         */
        public static final int AUTOMATIC_STORAGE_MANAGER_DAYS_TO_RETAIN_DEFAULT = 90;

        /**
         * How many bytes the automatic storage manager has cleared out.
         *
         * @hide
         */
        public static final String AUTOMATIC_STORAGE_MANAGER_BYTES_CLEARED =
                "automatic_storage_manager_bytes_cleared";


        /**
         * Last run time for the automatic storage manager.
         *
         * @hide
         */
        public static final String AUTOMATIC_STORAGE_MANAGER_LAST_RUN =
                "automatic_storage_manager_last_run";


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