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

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

Add configuration to control converting sms destination number

Romove hard codes about the SimcardOperatorList and NetworkOperatorList.

Bug: 18081228
Change-Id: I02d9cdee0912f6c18a5394f8e6a7106f78e20a12
parent 9af44ddf
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -38,4 +38,9 @@
           1. Lenient threshold
    -->
    <integer name="config_LTE_RSRP_threshold_type">0</integer>

    <string-array translatable="false" name="config_sms_convert_destination_number_support">
        <item>true;BAE0000000000000</item>
        <item>false</item>
    </string-array>
</resources>
+5 −0
Original line number Diff line number Diff line
@@ -34,4 +34,9 @@
    </string-array>

    <bool name="config_auto_attach_data_on_creation">false</bool>

    <string-array translatable="false" name="config_sms_convert_destination_number_support">
        <item>true</item>
    </string-array>

</resources>
+4 −0
Original line number Diff line number Diff line
@@ -56,4 +56,8 @@
           1. Lenient threshold
    -->
    <integer name="config_LTE_RSRP_threshold_type">0</integer>

    <string-array translatable="false" name="config_sms_convert_destination_number_support">
        <item>true</item>
    </string-array>
</resources>
+16 −0
Original line number Diff line number Diff line
@@ -1917,4 +1917,20 @@

    <!-- Show the next-alarm as a zen exit condition if it occurs in the next n hours. -->
    <integer name="config_next_alarm_condition_lookahead_threshold_hrs">12</integer>

    <!-- This config is used to check if the carrier requires converting destination
         number before sending out a SMS.
         Formats for this configuration as below:
         [true or false][;optional gid]
         The logic to pick up the configuration:
         (1) If the "config_sms_convert_destination_number_support" array has no gid
             special item, the last one will be picked
         (2) If the "config_sms_convert_destination_number_support" array has gid special
             item and it matches the current sim's gid, it will be picked.
         (3) If the "config_sms_convert_destination_number_support" 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_sms_convert_destination_number_support">
        <item>false</item>
    </string-array>
</resources>
+1 −0
Original line number Diff line number Diff line
@@ -2102,6 +2102,7 @@
  <java-symbol type="layout" name="simple_account_item" />
  <java-symbol type="id" name="scrollIndicatorUp" />
  <java-symbol type="id" name="scrollIndicatorDown" />
  <java-symbol type="array" name="config_sms_convert_destination_number_support" />

  <!-- From SignalStrength -->
  <java-symbol type="integer" name="config_LTE_RSRP_threshold_type" />