Don't crash on null Autofill hints (#1469)

Fixes #1468.
This commit is contained in:
Fabian Meumertzheim
2021-07-24 07:00:15 +02:00
committed by GitHub
parent d2832aad13
commit 9421fd9872

View File

@@ -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