Skip to content

Commit 9a4a037

Browse files
Steven RossAndroid (Google) Code Review
authored andcommitted
Merge "Stop FaceUnlock when detached from window fixes b/7222226" into jb-mr1-dev
2 parents 6c805cb + fbb9c61 commit 9a4a037

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

policy/src/com/android/internal/policy/impl/keyguard/KeyguardFaceUnlockView.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ public void reset() {
6868

6969
}
7070

71+
@Override
72+
public void onDetachedFromWindow() {
73+
if (mBiometricUnlock != null) {
74+
mBiometricUnlock.hide();
75+
mBiometricUnlock.stop();
76+
}
77+
}
78+
7179
@Override
7280
public void onPause() {
7381
if (mBiometricUnlock != null) {

0 commit comments

Comments
 (0)