Fix error message shown when SIM PIN enable/disable fails
Current code fails to pass the 3GPP spec test case 27.14.3 'Disabling the PIN'. An Incorrect toast error message is displayed, when enable/disable SIM PIN operation fails without checking the error code. Fix: Display appropriate toast error message based on the SIM PIN enable/disable error code. Bug: 73080305 Change-Id: I4219c68c7ebcf450a2f779b2d1f1ce881440753b
This commit is contained in:
@@ -2718,6 +2718,10 @@
|
||||
<string name="sim_change_succeeded">SIM PIN changed successfully</string>
|
||||
<!-- SIM card lock settings screen, toast after not entering correct SIM PIN [CHAR LIMIT=40] -->
|
||||
<string name="sim_lock_failed">Can\u2019t change SIM card lock state.\nPossibly incorrect PIN.</string>
|
||||
<!-- SIM card lock settings screen, toast after disabling PIN failed from modem -->
|
||||
<string name="sim_pin_disable_failed">Can\'t disable PIN.</string>
|
||||
<!-- SIM card lock settings screen, toast after enabling PIN failed from modem -->
|
||||
<string name="sim_pin_enable_failed">Can\'t enable PIN.</string>
|
||||
<!-- SIM card lock settings screen, SIM PIN dialog button labels: [CHAR LIMIT=40] -->
|
||||
<string name="sim_enter_ok">OK</string>
|
||||
<!-- SIM card lock settings screen, SIM PIN dialog button labels: [CHAR LIMIT=40] -->
|
||||
|
Reference in New Issue
Block a user