From 22ba998baffff3124fbb878f53985f34f47c46f2 Mon Sep 17 00:00:00 2001 From: Jing Ji Date: Mon, 11 Nov 2024 18:43:56 -0800 Subject: Add feature flag for the new role SYSTEM_VENDOR_INTELLIGENCE Also add the config resource for the default role holder. Bug: 377553620 Test: RoleParserTest Flag: android.permission.flags.system_vendor_intelligence_role_enabled Change-Id: I2d6d9d81fa8eebddb49b40388d47d4ac086acb77 --- core/api/system-current.txt | 1 + core/java/android/permission/flags.aconfig | 9 +++++++++ core/res/res/values/config.xml | 5 +++++ core/res/res/values/public-staging.xml | 3 +++ 4 files changed, 18 insertions(+) diff --git a/core/api/system-current.txt b/core/api/system-current.txt index d1de19e16e15..6e89b199de1d 100644 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -550,6 +550,7 @@ package android { field public static final int config_systemTextIntelligence = 17039414; // 0x1040036 field public static final int config_systemUi = 17039418; // 0x104003a field public static final int config_systemUiIntelligence = 17039410; // 0x1040032 + field @FlaggedApi("android.permission.flags.system_vendor_intelligence_role_enabled") public static final int config_systemVendorIntelligence; field public static final int config_systemVisualIntelligence = 17039415; // 0x1040037 field public static final int config_systemWearHealthService = 17039428; // 0x1040044 field public static final int config_systemWellbeing = 17039408; // 0x1040030 diff --git a/core/java/android/permission/flags.aconfig b/core/java/android/permission/flags.aconfig index 57e1b5863a4b..2c4883f1f61c 100644 --- a/core/java/android/permission/flags.aconfig +++ b/core/java/android/permission/flags.aconfig @@ -483,3 +483,12 @@ flag { description: "Rate limit async noteOp callbacks for batched noteOperation binder call" bug: "366013082" } + +flag { + name: "system_vendor_intelligence_role_enabled" + is_exported: true + is_fixed_read_only: true + namespace: "permissions" + description: "This flag is used to enable the role system_vendor_intelligence" + bug: "377553620" +} diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 390fbeaae494..596a9af6171f 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -7276,4 +7276,9 @@ + + + diff --git a/core/res/res/values/public-staging.xml b/core/res/res/values/public-staging.xml index 90f1b8a7046b..7b9d21364aca 100644 --- a/core/res/res/values/public-staging.xml +++ b/core/res/res/values/public-staging.xml @@ -154,6 +154,9 @@ + + -- cgit v1.2.3-59-g8ed1b