Use the right message for pattern/password.

Bug: 17875087
Change-Id: I7729a4fcb993def912e950ad0ea59fd64bfc34d3
This commit is contained in:
Paul Crowley
2014-11-07 23:39:43 +00:00
parent 293d974482
commit a8c760691d

View File

@@ -237,9 +237,9 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList
if (passwordType == StorageManager.CRYPT_TYPE_PIN) {
status.setText(R.string.cryptkeeper_wrong_pin);
} else if (passwordType == StorageManager.CRYPT_TYPE_PATTERN) {
status.setText(R.string.cryptkeeper_wrong_password);
status.setText(R.string.cryptkeeper_wrong_pattern);
} else {
status.setText(R.string.cryptkeeper_wrong_pin);
status.setText(R.string.cryptkeeper_wrong_password);
}
}