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

Commit 33fb026c authored by Jordan Liu's avatar Jordan Liu
Browse files

Add multisim notifications for SST

ServiceStateTracker posts notifications for restricted state and
rejection cause for CS registrations which need to be customzied for
multisim cases.

Bug: 69928579
Test: ServiceStateTrackerTest
Change-Id: Ia7db81da6dd858b99113432a97fb489dbebe2436
Merged-In: Ia7db81da6dd858b99113432a97fb489dbebe2436
parent 82a938c1
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -159,6 +159,9 @@
    <!-- Notification content to tell the user that voice/data/emergency service is blocked by access control. -->
    <string name="RestrictedStateContent">Temporarily turned off by your carrier</string>

    <!-- Notification content to tell the user that voice/data/emergency service is blocked by access control when multiple SIMs are active. -->
    <string name="RestrictedStateContentMsimTemplate">Temporarily turned off by your carrier for SIM <xliff:g id="simNumber" example="1">%d</xliff:g></string>

    <!-- Displayed to tell the user that they should switch their network preference. -->
    <string name="NetworkPreferenceSwitchTitle">Can\u2019t reach mobile network</string>
    <!-- Displayed to tell the user that they should switch their network preference. -->
@@ -4833,6 +4836,12 @@
    <string name="mmcc_illegal_ms">SIM not allowed for voice</string>
    <string name="mmcc_illegal_me">Phone not allowed for voice</string>

    <!-- Title of notification when UE fails to register network with MM reject cause code when multiple SIMs are active. -->
    <string name="mmcc_authentication_reject_msim_template">SIM <xliff:g id="simNumber" example="1">%d</xliff:g> not allowed</string>
    <string name="mmcc_imsi_unknown_in_hlr_msim_template">SIM <xliff:g id="simNumber" example="1">%d</xliff:g> not provisioned</string>
    <string name="mmcc_illegal_ms_msim_template">SIM <xliff:g id="simNumber" example="1">%d</xliff:g> not allowed</string>
    <string name="mmcc_illegal_me_msim_template">SIM <xliff:g id="simNumber" example="1">%d</xliff:g> not allowed</string>

    <!-- Popup window default title to be read by a screen reader-->
    <string name="popup_window_default_title">Popup Window</string>

+5 −0
Original line number Diff line number Diff line
@@ -579,6 +579,7 @@
  <java-symbol type="string" name="RestrictedOnEmergencyTitle" />
  <java-symbol type="string" name="RestrictedOnNormalTitle" />
  <java-symbol type="string" name="RestrictedStateContent" />
  <java-symbol type="string" name="RestrictedStateContentMsimTemplate" />
  <java-symbol type="string" name="notification_channel_network_alert" />
  <java-symbol type="string" name="notification_channel_call_forward" />
  <java-symbol type="string" name="notification_channel_emergency_callback" />
@@ -2029,6 +2030,10 @@
  <java-symbol type="string" name="mmcc_imsi_unknown_in_hlr" />
  <java-symbol type="string" name="mmcc_illegal_ms" />
  <java-symbol type="string" name="mmcc_illegal_me" />
  <java-symbol type="string" name="mmcc_authentication_reject_msim_template" />
  <java-symbol type="string" name="mmcc_imsi_unknown_in_hlr_msim_template" />
  <java-symbol type="string" name="mmcc_illegal_ms_msim_template" />
  <java-symbol type="string" name="mmcc_illegal_me_msim_template" />
  <java-symbol type="string" name="notification_listener_binding_label" />
  <java-symbol type="string" name="vr_listener_binding_label" />
  <java-symbol type="string" name="condition_provider_service_binding_label" />