Replace old no-service resource with new one
The new no-service resource is a list of countries which use the "no service" message by default instead of "emergency calls only." This allows us to customize the config even when no SIM is present. Bug: 126651774 Test: atest ServiceStateTrackerTest Change-Id: I6bf57c61c2b0fbce9d2bae8c3f3870ae1aa716de
This commit is contained in:
@@ -3783,9 +3783,11 @@
|
||||
<integer name="config_stableDeviceDisplayWidth">-1</integer>
|
||||
<integer name="config_stableDeviceDisplayHeight">-1</integer>
|
||||
|
||||
<!-- Decide whether to display 'No service' on status bar instead of 'Emergency calls only'
|
||||
when SIM is unready. -->
|
||||
<bool name="config_display_no_service_when_sim_unready">false</bool>
|
||||
<!-- List of countries in which we display 'No service' on status bar
|
||||
instead of 'Emergency calls only' when SIM is unready. -->
|
||||
<string-array translatable="false" name="config_display_no_service_when_sim_unready">
|
||||
<item>"DE"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Class names of device specific services inheriting com.android.server.SystemService. The
|
||||
classes are instantiated in the order of the array. -->
|
||||
|
||||
@@ -3551,7 +3551,7 @@
|
||||
|
||||
<java-symbol type="integer" name="config_stableDeviceDisplayWidth" />
|
||||
<java-symbol type="integer" name="config_stableDeviceDisplayHeight" />
|
||||
<java-symbol type="bool" name="config_display_no_service_when_sim_unready" />
|
||||
<java-symbol type="array" name="config_display_no_service_when_sim_unready" />
|
||||
|
||||
<java-symbol type="layout" name="slice_grid" />
|
||||
<java-symbol type="layout" name="slice_message_local" />
|
||||
|
||||
Reference in New Issue
Block a user