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

Commit 7a5e06f4 authored by jackqdyulei's avatar jackqdyulei
Browse files

Add settings constants for anomaly detection

Bug: 36924669
Test: Build
Change-Id: I7ca6745dedada8948ed0296cadb20b62a19c8fb3
parent 71d10aba
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -9156,6 +9156,23 @@ public final class Settings {
         */
        public static final String BATTERY_SAVER_CONSTANTS = "battery_saver_constants";

        /**
         * Battery anomaly detection specific settings
         * This is encoded as a key=value list, separated by commas. Ex:
         *
         * "anomaly_detection_enabled=true,wakelock_threshold=2000"
         *
         * The following keys are supported:
         *
         * <pre>
         * anomaly_detection_enabled       (boolean)
         * wakelock_enabled                (boolean)
         * wakelock_threshold              (long)
         * </pre>
         * @hide
         */
        public static final String ANOMALY_DETECTION_CONSTANTS = "anomaly_detection_constants";

        /**
         * App standby (app idle) specific settings.
         * This is encoded as a key=value list, separated by commas. Ex: