From c9915833ca9c26c044fea015db13b28ba67ef06d Mon Sep 17 00:00:00 2001 From: Massimo Carli Date: Tue, 28 Jan 2025 10:18:49 +0000 Subject: 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 --- .../src/com/android/providers/settings/WritableNamespaces.java | 1 + 1 file changed, 1 insertion(+) 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(Arrays.asList( "adservices", "autofill", + "app_compat_overrides", "captive_portal_login", "connectivity", "exo", -- cgit v1.2.3-59-g8ed1b