Add Auto Revoke Enabled settings constant

Add "AUTO_REVOKE_DISABLED" systemApi constant to Settings, which
will be used to read the global state of the auto revoke system.

Test: None
Bug: 146513245
Change-Id: I8072d124adf2808493f2eb4de5e52d87bef57508
This commit is contained in:
Nate Myren
2020-02-18 14:51:23 -08:00
parent 62709b5a8e
commit 865507a2d3
2 changed files with 8 additions and 0 deletions

View File

@@ -9727,6 +9727,7 @@ package android.provider {
field public static final String AUTOFILL_USER_DATA_MAX_USER_DATA_SIZE = "autofill_user_data_max_user_data_size";
field public static final String AUTOFILL_USER_DATA_MAX_VALUE_LENGTH = "autofill_user_data_max_value_length";
field public static final String AUTOFILL_USER_DATA_MIN_VALUE_LENGTH = "autofill_user_data_min_value_length";
field public static final String AUTO_REVOKE_DISABLED = "auto_revoke_disabled";
field public static final String CARRIER_APPS_HANDLED = "carrier_apps_handled";
field public static final String COMPLETED_CATEGORY_PREFIX = "suggested.completed_category.";
field public static final String DOZE_ALWAYS_ON = "doze_always_on";

View File

@@ -8734,6 +8734,13 @@ public final class Settings {
public static final String LOCATION_PERMISSIONS_UPGRADE_TO_Q_MODE =
"location_permissions_upgrade_to_q_mode";
/**
* Whether or not the system Auto Revoke feature is disabled.
* @hide
*/
@SystemApi
public static final String AUTO_REVOKE_DISABLED = "auto_revoke_disabled";
/**
* Map of android.theme.customization.* categories to the enabled overlay package for that
* category, formatted as a serialized {@link org.json.JSONObject}. If there is no