Add "not supported" string for MMI codes not supported by network.

Bug: 230841132
Test: Added new unit tests to verify the correct message is generated
when the network reports that a feature is not supported.

Change-Id: Idc7dc648dbe001d39d2e5a02803df38d98589aaf
This commit is contained in:
Tyler Gunn
2022-11-21 16:19:40 -08:00
parent 6f245890af
commit fb44946369
2 changed files with 4 additions and 0 deletions

View File

@@ -46,6 +46,9 @@
<!-- Displayed when the user dialed an MMI code whose function <!-- Displayed when the user dialed an MMI code whose function
could not be performed. This will be displayed in a toast. --> could not be performed. This will be displayed in a toast. -->
<string name="mmiError">Connection problem or invalid MMI code.</string> <string name="mmiError">Connection problem or invalid MMI code.</string>
<!-- Displayed when the user dialed an MMI code whose function could not be performed because
the feature is not supported on the current mobile network. -->
<string name="mmiErrorNotSupported">Feature not supported.</string>
<!-- Displayed when the user dialed an MMI code whose function <!-- Displayed when the user dialed an MMI code whose function
could not be performed because FDN is enabled. This will be displayed in a toast. --> could not be performed because FDN is enabled. This will be displayed in a toast. -->
<string name="mmiFdnError">Operation is restricted to fixed dialing numbers only.</string> <string name="mmiFdnError">Operation is restricted to fixed dialing numbers only.</string>

View File

@@ -835,6 +835,7 @@
<java-symbol type="string" name="mismatchPin" /> <java-symbol type="string" name="mismatchPin" />
<java-symbol type="string" name="mmiComplete" /> <java-symbol type="string" name="mmiComplete" />
<java-symbol type="string" name="mmiError" /> <java-symbol type="string" name="mmiError" />
<java-symbol type="string" name="mmiErrorNotSupported" />
<java-symbol type="string" name="mmiFdnError" /> <java-symbol type="string" name="mmiFdnError" />
<java-symbol type="string" name="mmiErrorWhileRoaming" /> <java-symbol type="string" name="mmiErrorWhileRoaming" />
<java-symbol type="string" name="month_day_year" /> <java-symbol type="string" name="month_day_year" />