Update Autofill compatibility

This commit is contained in:
J-Jamet committed 2020-04-14 20:27:08 +02:00
1 parent 603f64ea92
commit 6feaf2cb8a
1 file changed
+1
@@ -102,6 +102,7 @@ internal class StructureParser(private val structure: AssistStructure) {
it.equals(View.AUTOFILL_HINT_USERNAME, true)
|| it.equals(View.AUTOFILL_HINT_EMAIL_ADDRESS, true)
|| it.equals(View.AUTOFILL_HINT_PHONE, true)
|| it.equals("email", true)
|| it.equals("usernameOrEmail", true)-> {
result?.usernameId = autofillId
Log.d(TAG, "Autofill username hint")