Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 405a426a authored by Kevin Chyn's avatar Kevin Chyn
Browse files

ChooseLockPassword should not show "confirm" until min length is met

Fixes: 70561465

Test: manual test with setting pin/pw
Change-Id: I545202f508fa7b1a73b9a2e66a8f8216deba7555
parent d7b4b1b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -885,7 +885,7 @@ public class ChooseLockPassword extends SettingsActivity {
                // Hide password requirement view when we are just asking user to confirm the pw.
                mPasswordRestrictionView.setVisibility(View.GONE);
                setHeaderText(getString(mUiStage.getHint(mIsAlphaMode, mForFingerprint)));
                setNextEnabled(canInput && length > 0);
                setNextEnabled(canInput && length >= mPasswordMinLength);
                mClearButton.setEnabled(canInput && length > 0);
            }
            int message = mUiStage.getMessage(mIsAlphaMode, mForFingerprint);