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

Commit b9515f9c authored by Xia Ying's avatar Xia Ying Committed by Amit Mahajan
Browse files

Support to load default voicemail number from the configuration.

If there is no preload VM number in the sim card, carriers such as
Verizon require to load a default vm number from the configurantion.
Define config_default_vm_number for this purpose. And there are two
optional formats for this configuration, example as below:
(1)<item>voicemail number</item>
(2)<item>voicemail number;gid</item>

Bug: 17209959
Change-Id: Ia4e78ad7265e73bb4e4a823dbaeb606935d39f46
parent fb04057b
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -1725,4 +1725,19 @@
        <item>NTP_SERVER=north-america.pool.ntp.org</item>
        <item>SUPL_VER=0x20000</item>
    </string-array>

    <!-- If there is no preload VM number in the sim card, carriers such as
         Verizon require to load a default vm number from the configurantion.
         Define config_default_vm_number for this purpose. And there are two
         optional formats for this configuration as below:
         (1)<item>voicemail number</item>
         (2)<item>voicemail number;gid</item>
         The logic to pick up the correct voicemail number:
         (1) If the config_default_vm_number array has no gid special item, the last one will be
         picked
         (2) If the config_default_vm_number array has gid special item and  it matches the current
         sim's gid, it will be picked.
         (3) If the config_default_vm_number array has gid special item but it doesn't match the
         current sim's gid, the last one without gid will be picked -->
    <string-array translatable="false" name="config_default_vm_number" />
</resources>
+1 −0
Original line number Diff line number Diff line
@@ -2008,4 +2008,5 @@
  <java-symbol type="id" name="date_picker_month_day_year_layout" />
  <java-symbol type="attr" name="closeItemLayout" />
  <java-symbol type="layout" name="resolver_different_item_header" />
  <java-symbol type="array" name="config_default_vm_number" />
</resources>