Skip to content

Commit e51ae93

Browse files
jhenrique09neobuddy89
authored andcommitted
fixup - [1/2] Allow using face as auth method for apps
Change-Id: If9fd734b93fc2a507d41984d1997ddbabf26f3ec Signed-off-by: Pranav Vashi <[email protected]>
1 parent dae7278 commit e51ae93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/core/java/com/android/server/biometrics/BiometricService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1684,7 +1684,7 @@ private void switchToFaceModality(AuthSession authSession) {
16841684
for (AuthenticatorWrapper authenticator : mAuthenticators) {
16851685
// TODO(b/141025588): use ids instead of modalities to avoid ambiguity.
16861686
if (authenticator.modality == TYPE_FACE) {
1687-
authenticator.impl.prepareForAuthentication(requireConfirmation,
1687+
authenticator.impl.prepareForAuthentication(true,
16881688
authSession.mToken, authSession.mSessionId, authSession.mUserId,
16891689
mInternalReceiver, authSession.mOpPackageName, cookie,
16901690
authSession.mCallingUid, authSession.mCallingPid,

0 commit comments

Comments
 (0)