diff options
author | Devin J. Pohly <djpohly+github@gmail.com> | 2020-08-22 04:48:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-22 15:18:44 +0530 |
commit | 70f7d3b199a1a11084c23c2a1545b7bacce70258 (patch) | |
tree | 627610ebe944f9992173ef2b7597e1a68ecac66e /app/src/main | |
parent | 80e43e5675bf55204dd4fcb1adc02f7edcd62516 (diff) |
Autofill: add support for Bromite and Ungoogled Chromium (#1041)
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FeatureAndTrustDetection.kt | 5 | ||||
-rw-r--r-- | app/src/main/res/xml/oreo_autofill_service.xml | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FeatureAndTrustDetection.kt b/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FeatureAndTrustDetection.kt index 5c8b6b3b..38bdd068 100644 --- a/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FeatureAndTrustDetection.kt +++ b/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FeatureAndTrustDetection.kt @@ -65,6 +65,7 @@ private val TRUSTED_BROWSER_CERTIFICATE_HASH = mapOf( "com.opera.mini.native" to "V6y8Ul8bLr0ZGWzW8BQ5fMkQ/RiEHgroUP68Ph5ZP/I=", "com.opera.mini.native.beta" to "V6y8Ul8bLr0ZGWzW8BQ5fMkQ/RiEHgroUP68Ph5ZP/I=", "com.opera.touch" to "qtjiBNJNF3k0yc0MY8xqo4779CxKaVcJfiIQ9X+qZ6o=", + "org.bromite.bromite" to "4e5c0HbXsNyEyytF+3i4bfLrOaO2xWuj3CkqXgw7lQQ=", "org.gnu.icecat" to "wi2iuVvK/WYZUzd2g0Qzn9ef3kAisQURZ8U1WSMTkcM=", "org.mozilla.fenix" to "UAR3kIjn+YjVvFzF+HmP6/T4zQhKGypG79TI7krq8hE=", "org.mozilla.fenix.nightly" to "d+rEzu02r++6dheZMd1MwZWrDNVLrzVdIV57vdKOQCo=", @@ -75,6 +76,8 @@ private val TRUSTED_BROWSER_CERTIFICATE_HASH = mapOf( "org.mozilla.focus" to "YgOkc7421k7jf4f6UA7bx56rkwYQq5ufpMp9XB8bT/w=", "org.mozilla.klar" to "YgOkc7421k7jf4f6UA7bx56rkwYQq5ufpMp9XB8bT/w=", "org.torproject.torbrowser" to "IAYfBF5zfGc3XBd5TP7bQ2oDzsa6y3y5+WZCIFyizsg=", + "org.ungoogled.chromium.stable" to "29UOO5cXoxO/e/hH3hOu6bbtg1My4tK6Eik2Ym5Krtk=", + "org.ungoogled.chromium.extensions.stable" to "29UOO5cXoxO/e/hH3hOu6bbtg1My4tK6Eik2Ym5Krtk=", ) private fun isTrustedBrowser(context: Context, appPackage: String): Boolean { @@ -163,6 +166,8 @@ private val FLAKY_BROWSERS = listOf( "com.chrome.beta", "com.chrome.canary", "com.chrome.dev", + "org.bromite.bromite", + "org.ungoogled.chromium.stable", ) enum class BrowserAutofillSupportLevel { diff --git a/app/src/main/res/xml/oreo_autofill_service.xml b/app/src/main/res/xml/oreo_autofill_service.xml index 8b76c803..7e761e25 100644 --- a/app/src/main/res/xml/oreo_autofill_service.xml +++ b/app/src/main/res/xml/oreo_autofill_service.xml @@ -14,6 +14,7 @@ <compatibility-package android:name="com.microsoft.emmx" /> <compatibility-package android:name="com.opera.mini.native" /> <compatibility-package android:name="com.opera.mini.native.beta" /> + <compatibility-package android:name="org.bromite.bromite" /> <compatibility-package android:name="org.mozilla.fennec_fdroid" android:maxLongVersionCode="679999" /> @@ -23,4 +24,5 @@ <compatibility-package android:name="org.mozilla.firefox_beta" android:maxLongVersionCode="679999" /> + <compatibility-package android:name="org.ungoogled.chromium.stable" /> </autofill-service> |