Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b63bf2a5 authored by Jeremy Joslin's avatar Jeremy Joslin
Browse files

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: Ifed73e493fe7de64b3dd051a53d16d39da1e4eef
parent 99db203f
Loading
Loading
Loading
Loading
+13 −0
Original line number Original line Diff line number Diff line
@@ -1287,6 +1287,19 @@
         config_enableFusedLocationOverlay is false. -->
         config_enableFusedLocationOverlay is false. -->
    <string name="config_fusedLocationProviderPackageName" translatable="false">com.android.location.fused</string>
    <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
    <!-- Whether to enable Hardware FLP overlay which allows Hardware FLP to be
         replaced by an app at run-time. When disabled, only the
         replaced by an app at run-time. When disabled, only the
         config_hardwareFlpPackageName package will be searched for Hardware Flp,
         config_hardwareFlpPackageName package will be searched for Hardware Flp,
+4 −0
Original line number Original line Diff line number Diff line
@@ -2733,4 +2733,8 @@
  <!-- Screen-size-dependent modes for picker dialogs. -->
  <!-- Screen-size-dependent modes for picker dialogs. -->
  <java-symbol type="integer" name="time_picker_mode" />
  <java-symbol type="integer" name="time_picker_mode" />
  <java-symbol type="integer" name="date_picker_mode" />
  <java-symbol type="integer" name="date_picker_mode" />

<!-- Network Recommendation -->
  <java-symbol type="array" name="config_networkRecommendationPackageNames" />

</resources>
</resources>