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

Commit 9a4a0376 authored by Steven Ross's avatar Steven Ross Committed by Android (Google) Code Review
Browse files

Merge "Stop FaceUnlock when detached from window fixes b/7222226" into jb-mr1-dev

parents 6c805cb5 fbb9c619
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) {