From d32b3015c46df82a260c8b1a7c7eab59a7b71f10 Mon Sep 17 00:00:00 2001 From: Jonathan Almeida Date: Thu, 21 Jan 2021 20:07:35 +0400 Subject: [PATCH] Use a smaller request code for WebAuthnFeature We can't see the private API that we interact with on the OS, but after some internal investigation it appears that there might be an upper limit to the request code we can use. For now, let's try a value similar to that use in the GVE code to see our requests are failing because of that. --- app/src/main/java/org/mozilla/fenix/browser/WebAuthnFeature.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/mozilla/fenix/browser/WebAuthnFeature.kt b/app/src/main/java/org/mozilla/fenix/browser/WebAuthnFeature.kt index 269ca883c8..5f94163ebe 100644 --- a/app/src/main/java/org/mozilla/fenix/browser/WebAuthnFeature.kt +++ b/app/src/main/java/org/mozilla/fenix/browser/WebAuthnFeature.kt @@ -56,6 +56,6 @@ class WebAuthnFeature( } companion object { - const val ACTIVITY_REQUEST_CODE = 1337 + const val ACTIVITY_REQUEST_CODE = 10 } }