From b21c032f3176510243e0fc73d5e81edec0634456 Mon Sep 17 00:00:00 2001 From: Fabian Henneke Date: Fri, 27 Mar 2020 09:08:29 +0100 Subject: Improve Autofill heuristic terms (#674) Add "e-mail" and "login" as username terms and sort the lists. Co-authored-by: Harsh Shandilya --- app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FormField.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/main/java/com/zeapo') diff --git a/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FormField.kt b/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FormField.kt index 8a3380cc..cb60d624 100644 --- a/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FormField.kt +++ b/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FormField.kt @@ -80,10 +80,10 @@ class FormField( "search", "find", "captcha" ) private val PASSWORD_HEURISTIC_TERMS = listOf( - "pass", "pwd", "pswd" + "pass", "pswd", "pwd" ) private val USERNAME_HEURISTIC_TERMS = listOf( - "user", "name", "email" + "e-mail", "email", "login", "name", "user" ) } -- cgit v1.2.3