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

Commit 70af95c7 authored by LuK1337's avatar LuK1337
Browse files

SystemUI: Pass lock pattern size to biometrics auth

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/3344
Change-Id: I6f1c6dbd1abc583dedc8206218903f706fefd6fd
parent 84c0117f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -100,6 +100,7 @@ public class AuthCredentialPatternView extends AuthCredentialView {
    protected void onAttachedToWindow() {
        super.onAttachedToWindow();
        mLockPatternView = findViewById(R.id.lockPattern);
        mLockPatternView.setLockPatternSize(mLockPatternUtils.getLockPatternSize(mUserId));
        mLockPatternView.setOnPatternListener(new UnlockPatternListener());
        mLockPatternView.setInStealthMode(
                !mLockPatternUtils.isVisiblePatternEnabled(mUserId));