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

Commit e1212fe0 authored by Aaron Liu's avatar Aaron Liu Committed by Automerger Merge Worker
Browse files

Merge "Set expected pin length in constructor." into udc-dev am: 0754a888 am: 0ff0b9c8

parents 1f159640 0ff0b9c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ public class KeyguardPinViewController
        mLockPatternUtils = lockPatternUtils;
        mFeatureFlags = featureFlags;
        mBackspaceKey = view.findViewById(R.id.delete_button);
        mPinLength = mLockPatternUtils.getPinLength(KeyguardUpdateMonitor.getCurrentUser());
    }

    @Override
@@ -99,7 +100,6 @@ public class KeyguardPinViewController
    @Override
    public void startAppearAnimation() {
        if (mFeatureFlags.isEnabled(Flags.AUTO_PIN_CONFIRMATION)) {
            mPinLength = mLockPatternUtils.getPinLength(KeyguardUpdateMonitor.getCurrentUser());
            mPasswordEntry.setUsePinShapes(true);
            updateAutoConfirmationState();
        }