Merge "The text on toast should be changed when remains 1 time for SIM lock input"
am: 6e6b1e2079
Change-Id: Ic7f5ccda3111ebe6dc7934a2f50d7c2b76c2e70c
This commit is contained in:
@@ -487,7 +487,9 @@ public class IccLockSettings extends SettingsPreferenceFragment
|
||||
|
||||
if (attemptsRemaining == 0) {
|
||||
displayMessage = mRes.getString(R.string.wrong_pin_code_pukked);
|
||||
} else if (attemptsRemaining > 0) {
|
||||
} else if (attemptsRemaining == 1) {
|
||||
displayMessage = mRes.getString(R.string.wrong_pin_code_one, attemptsRemaining);
|
||||
} else if (attemptsRemaining > 1) {
|
||||
displayMessage = mRes
|
||||
.getQuantityString(R.plurals.wrong_pin_code, attemptsRemaining,
|
||||
attemptsRemaining);
|
||||
|
Reference in New Issue
Block a user