Add new autofill hint for username

This commit is contained in:
J-Jamet
2020-04-10 12:32:38 +02:00
parent d8bd078a02
commit 12dea6b499

View File

@@ -101,7 +101,8 @@ internal class StructureParser(private val structure: AssistStructure) {
when {
it.equals(View.AUTOFILL_HINT_USERNAME, true)
|| it.equals(View.AUTOFILL_HINT_EMAIL_ADDRESS, true)
|| it.equals(View.AUTOFILL_HINT_PHONE, true) -> {
|| it.equals(View.AUTOFILL_HINT_PHONE, true)
|| it.equals("usernameOrEmail", true)-> {
result?.usernameId = autofillId
Log.d(TAG, "Autofill username hint")
}