Add comment to ignore autocomplete off

This commit is contained in:
J-Jamet
2020-03-26 12:57:24 +01:00
parent 0f258fc5f8
commit 5b65575c7a

View File

@@ -97,6 +97,8 @@ internal class StructureParser(private val structure: AssistStructure) {
Log.d(TAG, "Autofill password hint")
return true
}
// Ignore autocomplete="off"
// https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
it.toLowerCase(Locale.ENGLISH) == "off" ||
it.toLowerCase(Locale.ENGLISH) == "on" -> {
Log.d(TAG, "Autofill web hint")