summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorRounak Datta <rounak.datta@hotstar.com>2020-09-10 11:24:44 +0530
committerGitHub <noreply@github.com>2020-09-10 11:24:44 +0530
commit71fc2a396ed95cea4f93b823280c63dc99533715 (patch)
tree78e0ae45b9cd705e60134f020b5c239f3b2b706a /app/src/main
parent276aa4ea7cec53d37dd4dc777119c3114535b628 (diff)
Autofill: add kiwi as a supported browser (#1091)
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FeatureAndTrustDetection.kt2
-rw-r--r--app/src/main/res/xml/oreo_autofill_service.xml1
2 files changed, 3 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 38bdd068..e49f7e81 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
@@ -78,6 +78,7 @@ private val TRUSTED_BROWSER_CERTIFICATE_HASH = mapOf(
"org.torproject.torbrowser" to "IAYfBF5zfGc3XBd5TP7bQ2oDzsa6y3y5+WZCIFyizsg=",
"org.ungoogled.chromium.stable" to "29UOO5cXoxO/e/hH3hOu6bbtg1My4tK6Eik2Ym5Krtk=",
"org.ungoogled.chromium.extensions.stable" to "29UOO5cXoxO/e/hH3hOu6bbtg1My4tK6Eik2Ym5Krtk=",
+ "com.kiwibrowser.browser" to "wGnqlmMy6R4KDDzFd+b1Cf49ndr3AVrQxcXvj9o/hig=",
)
private fun isTrustedBrowser(context: Context, appPackage: String): Boolean {
@@ -168,6 +169,7 @@ private val FLAKY_BROWSERS = listOf(
"com.chrome.dev",
"org.bromite.bromite",
"org.ungoogled.chromium.stable",
+ "com.kiwibrowser.browser",
)
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 7e761e25..00736cd5 100644
--- a/app/src/main/res/xml/oreo_autofill_service.xml
+++ b/app/src/main/res/xml/oreo_autofill_service.xml
@@ -25,4 +25,5 @@
android:name="org.mozilla.firefox_beta"
android:maxLongVersionCode="679999" />
<compatibility-package android:name="org.ungoogled.chromium.stable" />
+ <compatibility-package android:name="com.kiwibrowser.browser" />
</autofill-service>