Skip to content

Commit

Permalink
[Android][WebAuthn] Use params from WebauthnModeProvider in Fido2ApiCall
Browse files Browse the repository at this point in the history
This was overlooked in earlier CLs. But APP mode needs to use
IFido2AppService and browser needs to use IFido2PrivilegedService.
Before this CL app mode was trying to call IFido2PrivilegedService
and failing.

Bug: b/320291974, 1511193
Change-Id: I34179afff675f20477ef9633dc9d1304682fd5df
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5198305
Reviewed-by: Ken Buchanan <[email protected]>
Code-Coverage: [email protected] <[email protected]>
Commit-Queue: Adem Derinel <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1247271}
  • Loading branch information
deephand authored and Chromium LUCI CQ committed Jan 15, 2024
1 parent e8a5df1 commit d009713
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public void getAssertion(
* @param context the Android {@link Context} for the current process.
*/
public Fido2ApiCall(Context context) {
this(context, BROWSER_API);
this(context, WebauthnModeProvider.getInstance().getFido2ApiCallParams());
}

/**
Expand Down

0 comments on commit d009713

Please sign in to comment.