Update biometric onChallengeGenerated with frameworks/base

Bug: 145978626
Test: Builds

Change-Id: If02497fa6462f1ff263aeb96cf0beed014fee328
This commit is contained in:
Kevin Chyn
2020-07-30 23:28:59 -07:00
parent 9af90d3cf4
commit 9ce9d3d539
6 changed files with 9 additions and 9 deletions

View File

@@ -134,7 +134,7 @@ public class FingerprintEnrollIntroduction extends BiometricEnrollIntroduction {
protected void getChallenge(GenerateChallengeCallback callback) {
mFingerprintManager = Utils.getFingerprintManagerOrNull(this);
if (mFingerprintManager == null) {
callback.onChallengeGenerated(0L);
callback.onChallengeGenerated(0, 0L);
return;
}
mFingerprintManager.generateChallenge(callback::onChallengeGenerated);