Add Mull to autofill supported browsers (#1640)

This commit is contained in:
Harsh Shandilya 2022-01-01 21:26:58 +05:30 committed by GitHub
parent d6e89f0425
commit 86f7e0c87e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
## Unreleased ## Unreleased
### Added
- [Mull](https://f-droid.org/packages/us.spotco.fennec_dos/) is now supported as an Autofill-capable browser.
## [1.1.0] ## [1.1.0]
### Changed ### Changed

View file

@ -87,6 +87,7 @@ private val TRUSTED_BROWSER_CERTIFICATE_HASH =
"org.ungoogled.chromium.extensions.stable" to "org.ungoogled.chromium.extensions.stable" to
arrayOf("29UOO5cXoxO/e/hH3hOu6bbtg1My4tK6Eik2Ym5Krtk="), arrayOf("29UOO5cXoxO/e/hH3hOu6bbtg1My4tK6Eik2Ym5Krtk="),
"com.kiwibrowser.browser" to arrayOf("wGnqlmMy6R4KDDzFd+b1Cf49ndr3AVrQxcXvj9o/hig="), "com.kiwibrowser.browser" to arrayOf("wGnqlmMy6R4KDDzFd+b1Cf49ndr3AVrQxcXvj9o/hig="),
"us.spotco.fennec_dos" to arrayOf("/4H1vlY5ZZTu5w/vKDIlbhUhQSLiupzt0mAF/9S8qqg="),
) )
private fun isTrustedBrowser(context: Context, appPackage: String): Boolean { private fun isTrustedBrowser(context: Context, appPackage: String): Boolean {
@ -128,6 +129,7 @@ private val BROWSER_MULTI_ORIGIN_METHOD =
"org.mozilla.focus" to BrowserMultiOriginMethod.Field, "org.mozilla.focus" to BrowserMultiOriginMethod.Field,
"org.mozilla.klar" to BrowserMultiOriginMethod.Field, "org.mozilla.klar" to BrowserMultiOriginMethod.Field,
"org.torproject.torbrowser" to BrowserMultiOriginMethod.WebView, "org.torproject.torbrowser" to BrowserMultiOriginMethod.WebView,
"us.spotco.fennec_dos" to BrowserMultiOriginMethod.Field,
) )
private fun getBrowserMultiOriginMethod(appPackage: String): BrowserMultiOriginMethod = private fun getBrowserMultiOriginMethod(appPackage: String): BrowserMultiOriginMethod =