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

Commit 4a8146dd authored by Steven Ross's avatar Steven Ross Committed by Android Git Automerger
Browse files

am 4751a7b0: am 9a4a0376: Merge "Stop FaceUnlock when detached from window...

am 4751a7b0: am 9a4a0376: Merge "Stop FaceUnlock when detached from window fixes b/7222226" into jb-mr1-dev

* commit '4751a7b0':
  Stop FaceUnlock when detached from window fixes b/7222226
parents b08cec38 4751a7b0
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -68,6 +68,14 @@ public class KeyguardFaceUnlockView extends LinearLayout implements KeyguardSecu

    }

    @Override
    public void onDetachedFromWindow() {
        if (mBiometricUnlock != null) {
            mBiometricUnlock.hide();
            mBiometricUnlock.stop();
        }
    }

    @Override
    public void onPause() {
        if (mBiometricUnlock != null) {