[Android][WebAuthn] Use params from WebauthnModeProvider in Fido2ApiCall
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 <kenrb@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Commit-Queue: Adem Derinel <derinel@google.com> Cr-Commit-Position: refs/heads/main@{#1247271}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
e8a5df10db
commit
d009713d74
@ -245,7 +245,7 @@ public final class Fido2ApiCall extends GoogleApi<ApiOptions.NoOptions> {
|
||||
* @param context the Android {@link Context} for the current process.
|
||||
*/
|
||||
public Fido2ApiCall(Context context) {
|
||||
this(context, BROWSER_API);
|
||||
this(context, WebauthnModeProvider.getInstance().getFido2ApiCallParams());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user