Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit cdc198d

Browse files
fmeummsfjarvis
authored andcommitted
Mark Chrome as reliably fillable and saveable (#1338)
* Mark Chrome as reliably fillable and saveable * Mention Autofill improvements in CHANGELOG (cherry picked from commit 6206850)
1 parent eff07d1 commit cdc198d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
66

77
### Fixed
88

9+
- Autofill now works much more reliably in Chrome 89 and later, including support for saving passwords if no accessibility service is enabled.
910
- Editing a password allowed accidentally overwriting an existing one
1011

1112

autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/FeatureAndTrustDetection.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ private val BROWSER_SAVE_FLAG = mapOf(
146146

147147
@RequiresApi(Build.VERSION_CODES.O)
148148
private val BROWSER_SAVE_FLAG_IF_NO_ACCESSIBILITY = mapOf(
149+
"com.android.chrome" to SaveInfo.FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE,
149150
"com.chrome.beta" to SaveInfo.FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE,
150151
"com.chrome.canary" to SaveInfo.FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE,
151152
"com.chrome.dev" to SaveInfo.FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE,
@@ -181,7 +182,6 @@ fun getBrowserAutofillSupportInfoIfTrusted(
181182
}
182183

183184
private val FLAKY_BROWSERS = listOf(
184-
"com.android.chrome",
185185
"org.bromite.bromite",
186186
"org.ungoogled.chromium.stable",
187187
"com.kiwibrowser.browser",

0 commit comments

Comments
 (0)