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

Commit 04169673 authored by Brian Colonna's avatar Brian Colonna Committed by Android Git Automerger
Browse files

am 2ce6882b: Fixed problem where Face Unlock area was showing

* commit '2ce6882b':
  Fixed problem where Face Unlock area was showing
parents bc82c349 2ce6882b
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -337,7 +337,10 @@ public class LockPatternKeyguardView extends KeyguardViewBase implements Handler
                stopAndUnbindFromFaceLock();

                // Continue showing FaceLock area until dialer comes up
                if (mLockPatternUtils.usingBiometricWeak() &&
                        mLockPatternUtils.isBiometricWeakInstalled()) {
                    showFaceLockAreaWithTimeout(FACELOCK_VIEW_AREA_EMERGENCY_DIALER_TIMEOUT);
                }

                pokeWakelock(EMERGENCY_CALL_TIMEOUT);
                if (TelephonyManager.getDefault().getCallState()
@@ -538,7 +541,10 @@ public class LockPatternKeyguardView extends KeyguardViewBase implements Handler
            bindToFaceLock();
            // Show FaceLock area, but only for a little bit so lockpattern will become visible if
            // FaceLock fails to start or crashes
            if (mLockPatternUtils.usingBiometricWeak() &&
                    mLockPatternUtils.isBiometricWeakInstalled()) {
                showFaceLockAreaWithTimeout(FACELOCK_VIEW_AREA_SERVICE_TIMEOUT);
            }
        } else {
            hideFaceLockArea();
        }