1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-08 11:33:31 +00:00

[Autofill - Browser lists] Sort the entries alphabetically (#864)

* AccessibilityHelpers.SupportedBrowsers: sort the entries alphabetically

* AutofillHelpers.TrustedBrowsers: sort the entries alphabetically

* AutofillHelpers.CompatBrowsers: sort the entries alphabetically

* autofillservice.xml: sort the entries alphabetically
This commit is contained in:
Contribucious
2020-04-30 17:32:56 +02:00
committed by GitHub
parent 9d27f111bf
commit 99dceda8ac
3 changed files with 135 additions and 127 deletions

View File

@@ -17,56 +17,59 @@ namespace Bit.Droid.Autofill
private static int _pendingIntentId = 0;
// These browser work natively with the autofill framework
// Be sure to keep these entries sorted alphabetically
public static HashSet<string> TrustedBrowsers = new HashSet<string>
{
"com.duckduckgo.mobile.android",
"org.mozilla.focus",
"org.mozilla.klar",
"com.duckduckgo.mobile.android",
};
// These browsers work using the compatibility shim for the autofill framework
// Be sure to keep this in sync with values in Resources/xml/autofillservice.xml
// Be sure to:
// - keep these entries sorted alphabetically
// - keep this list in sync with values in Resources/xml/autofillservice.xml
public static HashSet<string> CompatBrowsers = new HashSet<string>
{
"com.amazon.cloud9",
"com.android.browser",
"com.android.chrome",
"com.brave.browser",
"com.brave.browser_beta",
"com.chrome.beta",
"com.chrome.dev",
"com.chrome.canary",
"com.chrome.dev",
"com.ecosia.android",
"com.google.android.apps.chrome",
"com.google.android.apps.chrome_dev",
"com.kiwibrowser.browser",
"com.microsoft.emmx",
"com.naver.whale",
"com.opera.browser",
"com.opera.browser.beta",
"com.opera.mini.native",
"com.opera.mini.native.beta",
"com.opera.touch",
"com.qwant.liberty",
"com.sec.android.app.sbrowser",
"com.sec.android.app.sbrowser.beta",
"com.vivaldi.browser",
"com.vivaldi.browser.snapshot",
"com.vivaldi.browser.sopranos",
"com.yandex.browser",
"mark.via.gp",
"org.bromite.bromite",
"org.chromium.chrome",
"org.codeaurora.swe.browser",
"org.mozilla.fenix",
"org.mozilla.fenix.nightly",
"org.mozilla.fennec_aurora",
"org.mozilla.fennec_fdroid",
"org.mozilla.firefox",
"org.mozilla.firefox_beta",
"org.mozilla.fenix",
"org.mozilla.fenix.nightly",
"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",
"org.codeaurora.swe.browser",
"com.amazon.cloud9",
"mark.via.gp",
"org.bromite.bromite",
"org.chromium.chrome",
"com.kiwibrowser.browser",
"com.ecosia.android",
"com.qwant.liberty",
"org.torproject.torbrowser",
"com.vivaldi.browser",
"com.vivaldi.browser.snapshot",
"com.vivaldi.browser.sopranos",
"com.naver.whale",
};
// The URLs are blacklisted from autofilling