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

Commit 64766b86 authored by Lei Yu's avatar Lei Yu Committed by Android (Google) Code Review
Browse files

Merge "Add settings constants for anomaly detection"

parents 552cd57d 7a5e06f4
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -9142,6 +9142,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: