From bcc415ccb3801f31a2f19629b80247939126a7be Mon Sep 17 00:00:00 2001 From: Contribucious <4764956+contribucious@users.noreply.github.com> Date: Mon, 4 May 2020 15:23:09 +0200 Subject: [PATCH] Add support for Brave Nightly (also: variants "_dev" and "_default") (#869) * [Brave] Add all other variants to AccessibilityHelpers.SupportedBrowsers * [Brave] Add all other variants to AutofillHelpers.CompatBrowsers * [Brave] Add all other variants to autofillservice.xml --- src/Android/Accessibility/AccessibilityHelpers.cs | 3 +++ src/Android/Autofill/AutofillHelpers.cs | 3 +++ src/Android/Resources/xml/autofillservice.xml | 9 +++++++++ 3 files changed, 15 insertions(+) diff --git a/src/Android/Accessibility/AccessibilityHelpers.cs b/src/Android/Accessibility/AccessibilityHelpers.cs index 1687b3a5a..3066e7078 100644 --- a/src/Android/Accessibility/AccessibilityHelpers.cs +++ b/src/Android/Accessibility/AccessibilityHelpers.cs @@ -33,6 +33,9 @@ namespace Bit.Droid.Accessibility new Browser("com.android.chrome", "url_bar"), new Browser("com.brave.browser", "url_bar"), new Browser("com.brave.browser_beta", "url_bar"), + new Browser("com.brave.browser_default", "url_bar"), + new Browser("com.brave.browser_dev", "url_bar"), + new Browser("com.brave.browser_nightly", "url_bar"), new Browser("com.chrome.beta", "url_bar"), new Browser("com.chrome.canary", "url_bar"), new Browser("com.chrome.dev", "url_bar"), diff --git a/src/Android/Autofill/AutofillHelpers.cs b/src/Android/Autofill/AutofillHelpers.cs index a46b2541e..68c341715 100644 --- a/src/Android/Autofill/AutofillHelpers.cs +++ b/src/Android/Autofill/AutofillHelpers.cs @@ -36,6 +36,9 @@ namespace Bit.Droid.Autofill "com.android.chrome", "com.brave.browser", "com.brave.browser_beta", + "com.brave.browser_default", + "com.brave.browser_dev", + "com.brave.browser_nightly", "com.chrome.beta", "com.chrome.canary", "com.chrome.dev", diff --git a/src/Android/Resources/xml/autofillservice.xml b/src/Android/Resources/xml/autofillservice.xml index c73c97980..4be892aab 100644 --- a/src/Android/Resources/xml/autofillservice.xml +++ b/src/Android/Resources/xml/autofillservice.xml @@ -20,6 +20,15 @@ + + +