Get communal widget allowlist from config.xml
Defines the component names for the widget allowlist in config
xml and stores the metadata in CommunalWidgetRepository, which
will later be needed when creating the db.
The metadata will be used to create the widget inventory flow.
Bug: b/303844599
Test: atest CommunalWidgetRepositoryImplTest
Change-Id: I40e931be85dd0459b3ad092668eb64f8392ca840
diff --git a/packages/SystemUI/res/values/config.xml b/packages/SystemUI/res/values/config.xml
index 1add90f..319f292 100644
--- a/packages/SystemUI/res/values/config.xml
+++ b/packages/SystemUI/res/values/config.xml
@@ -730,6 +730,9 @@
<!-- Whether the communal service should be enabled -->
<bool name="config_communalServiceEnabled">false</bool>
+ <!-- Component names of allowed communal widgets -->
+ <string-array name="config_communalWidgetAllowlist" translatable="false" />
+
<!-- Component name of communal source service -->
<string name="config_communalSourceComponent" translatable="false">@null</string>