Listen for fingerprint when on bouncer
To make unlocking work if keyguard is in occluded state and user taps on a notification. Bug: 22855718 Change-Id: Ide632f524a635e3e37741abaa77e258394c9a6e2
This commit is contained in:
@@ -1032,7 +1032,7 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean shouldListenForFingerprint() {
|
private boolean shouldListenForFingerprint() {
|
||||||
return (mKeyguardIsVisible || !mDeviceInteractive) && !mSwitchingUser
|
return (mKeyguardIsVisible || !mDeviceInteractive || mBouncer) && !mSwitchingUser
|
||||||
&& !mFingerprintAlreadyAuthenticated && !isFingerprintDisabled(getCurrentUser());
|
&& !mFingerprintAlreadyAuthenticated && !isFingerprintDisabled(getCurrentUser());
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1365,6 +1365,7 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener {
|
|||||||
cb.onKeyguardBouncerChanged(isBouncer);
|
cb.onKeyguardBouncerChanged(isBouncer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
updateFingerprintListeningState();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user