Removed lockdown check for detectFingerprint
Test: Verified the api can now be called when the phone is not locked down. Bug: 245778799 Change-Id: I0f0ee0d33312efc4b27fe6d525c7500d366fb3dc
This commit is contained in:
committed by
Beverly Tai
parent
01f077251f
commit
9ec8976f41
@@ -421,13 +421,6 @@ public class FingerprintService extends SystemService {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (!Utils.isUserEncryptedOrLockdown(mLockPatternUtils, userId)) {
|
||||
// If this happens, something in KeyguardUpdateMonitor is wrong. This should only
|
||||
// ever be invoked when the user is encrypted or lockdown.
|
||||
Slog.e(TAG, "detectFingerprint invoked when user is not encrypted or lockdown");
|
||||
return -1;
|
||||
}
|
||||
|
||||
final Pair<Integer, ServiceProvider> provider = mRegistry.getSingleProvider();
|
||||
if (provider == null) {
|
||||
Slog.w(TAG, "Null provider for detectFingerprint");
|
||||
|
||||
Reference in New Issue
Block a user