mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
[SupportedBrowsers] Update browsers (#1281)
* add Alook browser to autofillservice.xml * add Alook browser to AutofillHelpers.cs * add Alook browser to AccessibilityHelpers.cs, update Via's URL bar
This commit is contained in:
parent
3799eb4603
commit
685548ab72
3 changed files with 7 additions and 2 deletions
|
@ -31,6 +31,7 @@ namespace Bit.Droid.Accessibility
|
||||||
// So keep them in sync with:
|
// So keep them in sync with:
|
||||||
// - AutofillHelpers.{TrustedBrowsers,CompatBrowsers}
|
// - AutofillHelpers.{TrustedBrowsers,CompatBrowsers}
|
||||||
// - Resources/xml/autofillservice.xml
|
// - Resources/xml/autofillservice.xml
|
||||||
|
new Browser("alook.browser", "search_fragment_input_view"),
|
||||||
new Browser("com.amazon.cloud9", "url"),
|
new Browser("com.amazon.cloud9", "url"),
|
||||||
new Browser("com.android.browser", "url"),
|
new Browser("com.android.browser", "url"),
|
||||||
new Browser("com.android.chrome", "url_bar"),
|
new Browser("com.android.chrome", "url_bar"),
|
||||||
|
@ -74,8 +75,8 @@ namespace Bit.Droid.Accessibility
|
||||||
new Browser("idm.internet.download.manager.adm.lite", "search"),
|
new Browser("idm.internet.download.manager.adm.lite", "search"),
|
||||||
new Browser("idm.internet.download.manager.plus", "search"),
|
new Browser("idm.internet.download.manager.plus", "search"),
|
||||||
new Browser("io.github.forkmaintainers.iceraven", "mozac_browser_toolbar_url_view"),
|
new Browser("io.github.forkmaintainers.iceraven", "mozac_browser_toolbar_url_view"),
|
||||||
new Browser("mark.via", "o"),
|
new Browser("mark.via", "am,an"),
|
||||||
new Browser("mark.via.gp", "o"),
|
new Browser("mark.via.gp", "as"),
|
||||||
new Browser("org.adblockplus.browser", "url_bar,url_bar_title"), // 2nd = Legacy (before v2)
|
new Browser("org.adblockplus.browser", "url_bar,url_bar_title"), // 2nd = Legacy (before v2)
|
||||||
new Browser("org.adblockplus.browser.beta", "url_bar,url_bar_title"), // 2nd = Legacy (before v2)
|
new Browser("org.adblockplus.browser.beta", "url_bar,url_bar_title"), // 2nd = Legacy (before v2)
|
||||||
new Browser("org.bromite.bromite", "url_bar"),
|
new Browser("org.bromite.bromite", "url_bar"),
|
||||||
|
|
|
@ -48,6 +48,7 @@ namespace Bit.Droid.Autofill
|
||||||
// - ... to keep this list in sync with values in AccessibilityHelpers.SupportedBrowsers [Section A], too.
|
// - ... to keep this list in sync with values in AccessibilityHelpers.SupportedBrowsers [Section A], too.
|
||||||
public static HashSet<string> CompatBrowsers = new HashSet<string>
|
public static HashSet<string> CompatBrowsers = new HashSet<string>
|
||||||
{
|
{
|
||||||
|
"alook.browser",
|
||||||
"com.amazon.cloud9",
|
"com.amazon.cloud9",
|
||||||
"com.android.browser",
|
"com.android.browser",
|
||||||
"com.android.chrome",
|
"com.android.chrome",
|
||||||
|
|
|
@ -11,6 +11,9 @@
|
||||||
-->
|
-->
|
||||||
<autofill-service xmlns:android="http://schemas.android.com/apk/res/android"
|
<autofill-service xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:supportsInlineSuggestions="true">
|
android:supportsInlineSuggestions="true">
|
||||||
|
<compatibility-package
|
||||||
|
android:name="alook.browser"
|
||||||
|
android:maxLongVersionCode="10000000000"/>
|
||||||
<compatibility-package
|
<compatibility-package
|
||||||
android:name="com.amazon.cloud9"
|
android:name="com.amazon.cloud9"
|
||||||
android:maxLongVersionCode="10000000000"/>
|
android:maxLongVersionCode="10000000000"/>
|
||||||
|
|
Loading…
Reference in a new issue