Add Settings Global value for anomaly config

1. ANOMALY_CONFIG_VERSION: version of the anomlay config
2. ANOMALY_CONFIG: a base64-encoded string of raw config.

Bug: 72385333
Test: Build
Change-Id: If990d2e00e019cc6d6a6c601de9a08bd5e649654
This commit is contained in:
jackqdyulei
2018-02-01 11:16:23 -08:00
parent b4bb9deafc
commit fa81bee278
2 changed files with 16 additions and 0 deletions

View File

@@ -10254,6 +10254,20 @@ public final class Settings {
*/
public static final String BATTERY_TIP_CONSTANTS = "battery_tip_constants";
/**
* An integer to show the version of the anomaly config. Ex: 1, which means
* current version is 1.
* @hide
*/
public static final String ANOMALY_CONFIG_VERSION = "anomaly_config_version";
/**
* A base64-encoded string represents anomaly stats config, used for
* {@link android.app.StatsManager}.
* @hide
*/
public static final String ANOMALY_CONFIG = "anomaly_config";
/**
* Always on display(AOD) specific settings
* This is encoded as a key=value list, separated by commas. Ex: