Add support for Tor Browser (Alpha) (#872)

* Add Tor Browser (Alpha) to SupportedBrowsers dict

* Add Tor Browser (Alpha) to CompatBrowsers

* Add Tor Browser (Alpha) compatibility-package entry
This commit is contained in:
Contribucious 2020-05-04 15:28:28 +02:00 committed by GitHub
parent 0cfa737eff
commit 780761664d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View file

@ -92,6 +92,7 @@ namespace Bit.Droid.Accessibility
new Browser("org.mozilla.reference.browser", "mozac_browser_toolbar_url_view"),
new Browser("org.mozilla.rocket", "display_url"),
new Browser("org.torproject.torbrowser", "url_bar_title"),
new Browser("org.torproject.torbrowser_alpha", "url_bar_title"),
}.ToDictionary(n => n.PackageName);
// Known packages to skip

View file

@ -77,6 +77,7 @@ namespace Bit.Droid.Autofill
"org.mozilla.reference.browser",
"org.mozilla.rocket",
"org.torproject.torbrowser",
"org.torproject.torbrowser_alpha",
};
// The URLs are blacklisted from autofilling

View file

@ -143,4 +143,7 @@
<compatibility-package
android:name="org.torproject.torbrowser"
android:maxLongVersionCode="10000000000"/>
<compatibility-package
android:name="org.torproject.torbrowser_alpha"
android:maxLongVersionCode="10000000000"/>
</autofill-service>