Display "No service" on status bar when SIM unready

Introduce carrier config to forcibly display "No Service" instead of
"Emergency calls only" when SIM is unready.

Test: manual - checked displaying "No service" on status bar
Bug: 29191964
Change-Id: I744ec9a3c70376199ba94d68331604276ea761c3
This commit is contained in:
Wenting Xiong
2016-10-13 17:38:16 +08:00
committed by takeshi tanigawa
parent 537d63fe1a
commit d1aa25063e
2 changed files with 5 additions and 0 deletions

View File

@@ -2971,4 +2971,8 @@
<!-- An array of packages that need to be treated as type service in battery settings -->
<string-array translatable="false" name="config_batteryPackageTypeService"/>
<!-- 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>
</resources>

View File

@@ -3038,4 +3038,5 @@
<java-symbol type="array" name="config_batteryPackageTypeSystem" />
<java-symbol type="array" name="config_batteryPackageTypeService" />
<java-symbol type="bool" name="config_display_no_service_when_sim_unready" />
</resources>