diff options
author | Fabian Meumertzheim <fabian@meumertzhe.im> | 2021-07-24 07:00:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-24 10:30:15 +0530 |
commit | 9421fd9872c76377a81f5b3b45011cef8ae2a295 (patch) | |
tree | 5545e68ea5674f009c4e0a6ef69cdb9feacc1cef /autofill-parser/src/main/java/com | |
parent | d2832aad13c74dfa7b06b138ccc3ca3fd88795bf (diff) |
Don't crash on null Autofill hints (#1469)
Fixes #1468.
Diffstat (limited to 'autofill-parser/src/main/java/com')
-rw-r--r-- | autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/FormField.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/FormField.kt b/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/FormField.kt index 5aef13a0..30d80d1d 100644 --- a/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/FormField.kt +++ b/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/FormField.kt @@ -115,7 +115,7 @@ internal class FormField( .toList() @RequiresApi(Build.VERSION_CODES.O) - private fun isSupportedHint(hint: String) = hint in HINTS_FILLABLE + private fun isSupportedHint(hint: String?) = hint in HINTS_FILLABLE private val EXCLUDED_TERMS = listOf( "url_bar", // Chrome/Edge/Firefox address bar |