diff options
author | Fabian Meumertzheim <fabian@meumertzhe.im> | 2021-03-04 08:10:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-04 07:10:21 +0000 |
commit | 6206850eb298f554b7ce9a1cd9adb6a392ff1e54 (patch) | |
tree | 2a4873edbea8ac18b8119e33845d650a0ccb62c7 | |
parent | 64fbd2ed44827224a1c3159c5d8c46e9984b6a78 (diff) |
Mark Chrome as reliably fillable and saveable (#1338)
* Mark Chrome as reliably fillable and saveable
* Mention Autofill improvements in CHANGELOG
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/FeatureAndTrustDetection.kt | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 80166c65..a1aed4f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file. ### Fixed +- Autofill now works much more reliably in Chrome 89 and later, including support for saving passwords if no accessibility service is enabled. - Pressing the back button in the navigation bar and the one in the toolbar behaved differently - Editing a password allowed accidentally overwriting an existing one - App shortcuts would never update once the first 4 were set 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 f75d00fb..e244e2c5 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 @@ -146,6 +146,7 @@ private val BROWSER_SAVE_FLAG = mapOf( @RequiresApi(Build.VERSION_CODES.O) private val BROWSER_SAVE_FLAG_IF_NO_ACCESSIBILITY = mapOf( + "com.android.chrome" to SaveInfo.FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE, "com.chrome.beta" to SaveInfo.FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE, "com.chrome.canary" to SaveInfo.FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE, "com.chrome.dev" to SaveInfo.FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE, @@ -181,7 +182,6 @@ internal fun getBrowserAutofillSupportInfoIfTrusted( } private val FLAKY_BROWSERS = listOf( - "com.android.chrome", "org.bromite.bromite", "org.ungoogled.chromium.stable", "com.kiwibrowser.browser", |