ChooseLockPassword should not show "confirm" until min length is met
Fixes: 70561465 Test: manual test with setting pin/pw Change-Id: I545202f508fa7b1a73b9a2e66a8f8216deba7555
This commit is contained in:
@@ -885,7 +885,7 @@ public class ChooseLockPassword extends SettingsActivity {
|
|||||||
// Hide password requirement view when we are just asking user to confirm the pw.
|
// Hide password requirement view when we are just asking user to confirm the pw.
|
||||||
mPasswordRestrictionView.setVisibility(View.GONE);
|
mPasswordRestrictionView.setVisibility(View.GONE);
|
||||||
setHeaderText(getString(mUiStage.getHint(mIsAlphaMode, mForFingerprint)));
|
setHeaderText(getString(mUiStage.getHint(mIsAlphaMode, mForFingerprint)));
|
||||||
setNextEnabled(canInput && length > 0);
|
setNextEnabled(canInput && length >= mPasswordMinLength);
|
||||||
mClearButton.setEnabled(canInput && length > 0);
|
mClearButton.setEnabled(canInput && length > 0);
|
||||||
}
|
}
|
||||||
int message = mUiStage.getMessage(mIsAlphaMode, mForFingerprint);
|
int message = mUiStage.getMessage(mIsAlphaMode, mForFingerprint);
|
||||||
|
Reference in New Issue
Block a user