aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-01-01 21:26:58 +0530
committerGitHub <noreply@github.com>2022-01-01 15:56:58 +0000
commit86f7e0c87e4dec1cc2fcfb63cf9b110da343c326 (patch)
treefc30b11490a983b38857a78fc73367fce9da8a7b
parentd6e89f04254ac77f17ca39c604234eb552d43952 (diff)
Add Mull to autofill supported browsers (#1640)
-rw-r--r--autofill-parser/CHANGELOG.md4
-rw-r--r--autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/FeatureAndTrustDetection.kt2
2 files changed, 6 insertions, 0 deletions
diff --git a/autofill-parser/CHANGELOG.md b/autofill-parser/CHANGELOG.md
index be3a796d..23e1e105 100644
--- a/autofill-parser/CHANGELOG.md
+++ b/autofill-parser/CHANGELOG.md
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
## Unreleased
+### Added
+
+- [Mull](https://f-droid.org/packages/us.spotco.fennec_dos/) is now supported as an Autofill-capable browser.
+
## [1.1.0]
### Changed
diff --git a/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/FeatureAndTrustDetection.kt b/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/FeatureAndTrustDetection.kt
index 816491b2..bd84746b 100644
--- a/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/FeatureAndTrustDetection.kt
+++ b/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/FeatureAndTrustDetection.kt
@@ -87,6 +87,7 @@ private val TRUSTED_BROWSER_CERTIFICATE_HASH =
"org.ungoogled.chromium.extensions.stable" to
arrayOf("29UOO5cXoxO/e/hH3hOu6bbtg1My4tK6Eik2Ym5Krtk="),
"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 {
@@ -128,6 +129,7 @@ private val BROWSER_MULTI_ORIGIN_METHOD =
"org.mozilla.focus" to BrowserMultiOriginMethod.Field,
"org.mozilla.klar" to BrowserMultiOriginMethod.Field,
"org.torproject.torbrowser" to BrowserMultiOriginMethod.WebView,
+ "us.spotco.fennec_dos" to BrowserMultiOriginMethod.Field,
)
private fun getBrowserMultiOriginMethod(appPackage: String): BrowserMultiOriginMethod =