summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Massimo Carli <mcarli@google.com> 2025-01-28 10:18:49 +0000
committer Massimo Carli <mcarli@google.com> 2025-01-29 09:35:29 +0000
commitc9915833ca9c26c044fea015db13b28ba67ef06d (patch)
tree19cea874dc91e4bba1952a7596ee9ef217759389
parentb5b48bf83bd2e295e5e889802d0f81cab27bb7be (diff)
Add app_compat_overrides to WritableNamespaces and clean up WritableFlags
This commit updates the allowlist of DeviceConfig namespaces that can be written with the WRITE_ALLOWLISTED_DEVICE_CONFIG permission to include app_compat_overrides namespaces. Bug: 392162661 Flag: android.security.protect_device_config_flags Test: atest DeviceConfigApiTests Change-Id: I5a0f2f9cfec7e4b91317c7d4745ebc542885f956
-rw-r--r--packages/SettingsProvider/src/com/android/providers/settings/WritableNamespaces.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SettingsProvider/src/com/android/providers/settings/WritableNamespaces.java b/packages/SettingsProvider/src/com/android/providers/settings/WritableNamespaces.java
index d504f83877c5..292aa51db18f 100644
--- a/packages/SettingsProvider/src/com/android/providers/settings/WritableNamespaces.java
+++ b/packages/SettingsProvider/src/com/android/providers/settings/WritableNamespaces.java
@@ -35,6 +35,7 @@ final class WritableNamespaces {
new ArraySet<String>(Arrays.asList(
"adservices",
"autofill",
+ "app_compat_overrides",
"captive_portal_login",
"connectivity",
"exo",