[LockScreen] Update initial string in choose lock screens
In choose password and PIN screens, change the initial string from duplicate of the title ("Choose your password/PIN") to the verification string ("PIN must be at least ? digits" / "Password must be at least ? characters"). Bug: 20948877 Change-Id: I635ec625f2820e522cdfc983e13ee71706e7004e
This commit is contained in:
@@ -598,7 +598,7 @@ public class ChooseLockPassword extends SettingsActivity {
|
||||
private void updateUi() {
|
||||
String password = mPasswordEntry.getText().toString();
|
||||
final int length = password.length();
|
||||
if (mUiStage == Stage.Introduction && length > 0) {
|
||||
if (mUiStage == Stage.Introduction) {
|
||||
if (length < mPasswordMinLength) {
|
||||
String msg = getString(mIsAlphaMode ? R.string.lockpassword_password_too_short
|
||||
: R.string.lockpassword_pin_too_short, mPasswordMinLength);
|
||||
|
Reference in New Issue
Block a user