summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorNate Myren <ntmyren@google.com>2020-02-18 14:51:23 -0800
committerNate Myren <ntmyren@google.com>2020-02-18 16:15:50 -0800
commit865507a2d31960f8e6c28cfc0ec59a6ca6a1929f (patch)
treec4f24aa76ab408b50131447e56def6ec4bc3d678 /core/java/android
parent62709b5a8e595a3cb706ae937b3b09c515244acc (diff)
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
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/provider/Settings.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 37efec34b330..3fab9ca62eb9 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -8735,6 +8735,13 @@ public final class Settings {
"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
* corresponding package included for a category, then all overlay packages in that