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
This commit is contained in:
Jeremy Joslin
2016-11-30 16:44:11 -08:00
parent 8e9440efde
commit 5db1ec0de1
2 changed files with 16 additions and 0 deletions

View File

@@ -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,

View File

@@ -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>