Show error message for RuntimeExceptions.
Previously, all errors were assumed to be of the class
CommandException. This may not always be the case, for example if
a SIM card is missing. If it is not a CommandException, show a
generic error message in this case.
Bug: 21268151
Change-Id: I280971a65ab2ed8470499a74d91be1fb6ac331bf
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 4080e76..8565af8 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -897,6 +897,9 @@
<string name="pin2_attempts">\nYou have <xliff:g id="number">%d</xliff:g> remaining attempts.</string>
<!-- SIM PIN screen: status message displayed in a popup (toast) -->
<string name="pin2_unblocked">PIN2 no longer blocked</string>
+ <!-- SIM PIN screen: error message shown in dialog when there is a network or sim error.
+ [CHAR LIMIT=NONE] -->
+ <string name="pin2_error_exception">Network or SIM card error</string>
<!-- SIM PIN screen: button label -->
<string name="doneButton">Done</string>