From c7cf634a94ed3b8f265c6cee3bc051802557fb65 Mon Sep 17 00:00:00 2001
From: Contribucious <4764956+contribucious@users.noreply.github.com>
Date: Thu, 15 Oct 2020 18:34:32 +0200
Subject: [PATCH] Update support for Ungoogled Chromium browser (#1119)
---
src/Android/Accessibility/AccessibilityHelpers.cs | 4 +++-
src/Android/Autofill/AutofillHelpers.cs | 2 ++
src/Android/Resources/xml/autofillservice.xml | 6 ++++++
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/Android/Accessibility/AccessibilityHelpers.cs b/src/Android/Accessibility/AccessibilityHelpers.cs
index 5bb9a40a6..f4a6b884f 100644
--- a/src/Android/Accessibility/AccessibilityHelpers.cs
+++ b/src/Android/Accessibility/AccessibilityHelpers.cs
@@ -90,7 +90,9 @@ namespace Bit.Droid.Accessibility
new Browser("org.mozilla.rocket", "display_url"),
new Browser("org.torproject.torbrowser", "url_bar_title,mozac_browser_toolbar_url_view"), // 2nd = Anticipation
new Browser("org.torproject.torbrowser_alpha", "mozac_browser_toolbar_url_view,url_bar_title"), // 2nd = Legacy (before v10.0a8)
- new Browser("org.ungoogled.chromium", "url_bar"),
+ new Browser("org.ungoogled.chromium", "url_bar"), // [DEPRECATED]
+ new Browser("org.ungoogled.chromium.extensions.stable", "url_bar"),
+ new Browser("org.ungoogled.chromium.stable", "url_bar"),
// [Section B] Entries only present here
//
diff --git a/src/Android/Autofill/AutofillHelpers.cs b/src/Android/Autofill/AutofillHelpers.cs
index 5744c9db8..3fc7cca93 100644
--- a/src/Android/Autofill/AutofillHelpers.cs
+++ b/src/Android/Autofill/AutofillHelpers.cs
@@ -94,6 +94,8 @@ namespace Bit.Droid.Autofill
"org.torproject.torbrowser",
"org.torproject.torbrowser_alpha",
"org.ungoogled.chromium",
+ "org.ungoogled.chromium.extensions.stable",
+ "org.ungoogled.chromium.stable",
};
// The URLs are blacklisted from autofilling
diff --git a/src/Android/Resources/xml/autofillservice.xml b/src/Android/Resources/xml/autofillservice.xml
index 75c071e29..e0c8e2722 100644
--- a/src/Android/Resources/xml/autofillservice.xml
+++ b/src/Android/Resources/xml/autofillservice.xml
@@ -178,4 +178,10 @@
+
+