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

Commit a50d6625 authored by Brian Colonna's avatar Brian Colonna Committed by Android (Google) Code Review
Browse files

Merge "Fix 5385186 - Face Unlock no longer shown when first booted"

parents f678dd56 cfdd6242
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -530,6 +530,12 @@ public class LockPatternKeyguardView extends KeyguardViewBase implements Handler
        } else {
            ((KeyguardScreen) mUnlockScreen).onResume();
        }

        if (mLockPatternUtils.usingBiometricWeak()) {
            mHandler.sendEmptyMessage(MSG_SHOW_FACELOCK_AREA_VIEW);
        } else {
            mHandler.sendEmptyMessage(MSG_HIDE_FACELOCK_AREA_VIEW);
        }
    }

    private void recreateLockScreen() {
@@ -980,12 +986,6 @@ public class LockPatternKeyguardView extends KeyguardViewBase implements Handler
        mFaceLockAreaView = view.findViewById(R.id.faceLockAreaView);
        if (mFaceLockAreaView == null) {
            if (DEBUG) Log.d(TAG, "Layout does not have faceLockAreaView");
        } else {
            if (mLockPatternUtils.usingBiometricWeak()) {
                mHandler.sendEmptyMessage(MSG_SHOW_FACELOCK_AREA_VIEW);
            } else {
                mHandler.sendEmptyMessage(MSG_HIDE_FACELOCK_AREA_VIEW);
            }
        }
    }