Adding a new string array resource for network recommendations.
The new resource allows for multiple package names to be specified
in priority order.
Test: Nothing to test.
BUG: 33158362
Change-Id: I4a066d9220c723a17dd11e2566161fade6bb471b
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index d8ae138..9e75ff9 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -1257,6 +1257,19 @@
config_enableFusedLocationOverlay is false. -->
<string name="config_fusedLocationProviderPackageName" translatable="false">com.android.location.fused</string>
+ <!-- A list of potential packages, in priority order, that may contain a
+ network recommendation provider. A network recommendation provider must:
+ * Be granted the SCORE_NETWORKS permission.
+ * Include a Receiver for the android.net.scoring.SCORE_NETWORKS action guarded by the
+ BROADCAST_NETWORK_PRIVILEGED permission.
+ * Include a Service for the android.net.scoring.RECOMMEND_NETWORKS action.
+
+ This may be empty if network scoring and recommending isn't supported.
+ -->
+ <string-array name="config_networkRecommendationPackageNames" translatable="false">
+ <!-- Add packages here -->
+ </string-array>
+
<!-- Whether to enable Hardware FLP overlay which allows Hardware FLP to be
replaced by an app at run-time. When disabled, only the
config_hardwareFlpPackageName package will be searched for Hardware Flp,
diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml
index a17d2f1..a85ddf1 100644
--- a/core/res/res/values/symbols.xml
+++ b/core/res/res/values/symbols.xml
@@ -2752,4 +2752,7 @@
<java-symbol type="integer" name="date_picker_mode" />
<java-symbol type="dimen" name="config_appTransitionAnimationDurationScaleDefault" />
+
+<!-- Network Recommendation -->
+ <java-symbol type="array" name="config_networkRecommendationPackageNames" />
</resources>