From 73b5d1b3f11a646c7baf7cad7104498d93804c95 Mon Sep 17 00:00:00 2001 From: Nicholas Date: Mon, 1 Jul 2019 23:35:58 +0800 Subject: [PATCH] add support for org.mozilla.fenix.nightly (#551) * Update autofillservice.xml * Update AutofillHelpers.cs * Update AccessibilityHelpers.cs --- src/Android/Accessibility/AccessibilityHelpers.cs | 3 ++- src/Android/Autofill/AutofillHelpers.cs | 1 + src/Android/Resources/xml/autofillservice.xml | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Android/Accessibility/AccessibilityHelpers.cs b/src/Android/Accessibility/AccessibilityHelpers.cs index 65bb5bcc8..bd4d8cef7 100644 --- a/src/Android/Accessibility/AccessibilityHelpers.cs +++ b/src/Android/Accessibility/AccessibilityHelpers.cs @@ -41,6 +41,7 @@ namespace Bit.Droid.Accessibility new Browser("org.mozilla.focus", "display_url"), new Browser("org.mozilla.klar", "display_url"), new Browser("org.mozilla.fenix", "mozac_browser_toolbar_url_view"), + new Browser("org.mozilla.fenix.nightly", "mozac_browser_toolbar_url_view"), new Browser("org.mozilla.reference.browser", "mozac_browser_toolbar_url_view"), new Browser("com.ghostery.android.ghostery", "search_field"), new Browser("org.adblockplus.browser", "url_bar_title"), @@ -244,4 +245,4 @@ namespace Bit.Droid.Accessibility return allEditTexts.TakeWhile(n => !n.Password).LastOrDefault(); } } -} \ No newline at end of file +} diff --git a/src/Android/Autofill/AutofillHelpers.cs b/src/Android/Autofill/AutofillHelpers.cs index 8f5e3ba98..456f61427 100644 --- a/src/Android/Autofill/AutofillHelpers.cs +++ b/src/Android/Autofill/AutofillHelpers.cs @@ -57,6 +57,7 @@ namespace Bit.Droid.Autofill "com.qwant.liberty", "com.opera.touch", "org.mozilla.fenix", + "org.mozilla.fenix.nightly", "org.mozilla.reference.browser", "org.mozilla.rocket", }; diff --git a/src/Android/Resources/xml/autofillservice.xml b/src/Android/Resources/xml/autofillservice.xml index a857d6231..1cdae9ff7 100644 --- a/src/Android/Resources/xml/autofillservice.xml +++ b/src/Android/Resources/xml/autofillservice.xml @@ -48,6 +48,9 @@ +