From 8cee50299f75490f61c72ad0ab2272ae201d5361 Mon Sep 17 00:00:00 2001
From: Contribucious <4764956+contribucious@users.noreply.github.com>
Date: Tue, 21 Apr 2020 14:48:29 +0200
Subject: [PATCH] Add support for Brave Beta browser (#846)
* Add Brave Beta to SupportedBrowsers dict
* Add Brave Beta to CompatBrowsers
* Add Brave Beta compatibility-package entry
---
src/Android/Accessibility/AccessibilityHelpers.cs | 1 +
src/Android/Autofill/AutofillHelpers.cs | 1 +
src/Android/Resources/xml/autofillservice.xml | 3 +++
3 files changed, 5 insertions(+)
diff --git a/src/Android/Accessibility/AccessibilityHelpers.cs b/src/Android/Accessibility/AccessibilityHelpers.cs
index db18bf7dd..9a47c64d9 100644
--- a/src/Android/Accessibility/AccessibilityHelpers.cs
+++ b/src/Android/Accessibility/AccessibilityHelpers.cs
@@ -28,6 +28,7 @@ namespace Bit.Droid.Accessibility
new Browser("org.chromium.chrome", "url_bar"),
new Browser("com.android.browser", "url"),
new Browser("com.brave.browser", "url_bar"),
+ new Browser("com.brave.browser_beta", "url_bar"),
new Browser("com.opera.browser", "url_field"),
new Browser("com.opera.browser.beta", "url_field"),
new Browser("com.opera.mini.native", "url_field"),
diff --git a/src/Android/Autofill/AutofillHelpers.cs b/src/Android/Autofill/AutofillHelpers.cs
index 3867c129f..d6498d613 100644
--- a/src/Android/Autofill/AutofillHelpers.cs
+++ b/src/Android/Autofill/AutofillHelpers.cs
@@ -50,6 +50,7 @@ namespace Bit.Droid.Autofill
"org.mozilla.reference.browser",
"org.mozilla.rocket",
"com.brave.browser",
+ "com.brave.browser_beta",
"com.google.android.apps.chrome",
"com.google.android.apps.chrome_dev",
"com.yandex.browser",
diff --git a/src/Android/Resources/xml/autofillservice.xml b/src/Android/Resources/xml/autofillservice.xml
index 1dc74db41..8f3d1267d 100644
--- a/src/Android/Resources/xml/autofillservice.xml
+++ b/src/Android/Resources/xml/autofillservice.xml
@@ -67,6 +67,9 @@
+