Don't need to authenticate fingerprint when the fingerprint list is empty.
Enter into the fingerprint list screen and can authenticate fingerprint still when the list is empty. Test: manual - enrolling some fingerprints and remove all fingerprintd, touch the fingerprint touch panel and no response.
This commit is contained in:
@@ -275,7 +275,8 @@ public class FingerprintSettings extends SubSettings {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void retryFingerprint() {
|
private void retryFingerprint() {
|
||||||
if (mRemovalSidecar.inProgress()) {
|
if (mRemovalSidecar.inProgress()
|
||||||
|
|| 0 == mFingerprintManager.getEnrolledFingerprints(mUserId).size()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!mInFingerprintLockout) {
|
if (!mInFingerprintLockout) {
|
||||||
|
Reference in New Issue
Block a user