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

Commit 3a9f1aa1 authored by Xia Ying's avatar Xia Ying Committed by Jake Hamby
Browse files

Add page info in each segment if carrier does not support EMS.

If EMS is not supported, framework breaks down EMS into single segment
SMS and adds page info " x/y".

In the case of UCS2 encoding type, we need 8 bytes for this, but we
only have 6 bytes from UDH, so truncate the limit for each segment by
2 bytes (1 char).

Change-Id: Ieadb8d27d1cdf2f1e5322ec16c5a62d55e26bdfd
parent d077d777
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1656,4 +1656,11 @@
    <!-- Package name providing WebView implementation. -->
    <string name="config_webViewPackageName" translatable="false">com.android.webview</string>

    <!-- If EMS is not supported, framework breaks down EMS into single segment SMS
         and adds page info " x/y". This config is used to set which carrier doesn't
         support EMS and whether page info should be added at the beginning or the end.
         We use tag 'prefix' for position beginning and 'suffix' for position end.
         Examples: <item>311480;prefix</item> <item>310260;suffix</item>
    -->
    <string-array translatable="false" name="no_ems_support_sim_operators" />
</resources>
+1 −0
Original line number Diff line number Diff line
@@ -1982,4 +1982,5 @@
  <java-symbol type="attr" name="checkMarkGravity" />
  <java-symbol type="layout" name="select_dialog_singlechoice_material" />
  <java-symbol type="layout" name="select_dialog_multichoice_material" />
  <java-symbol type="array" name="no_ems_support_sim_operators" />
</resources>