mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
Remove dublicate email check
This commit is contained in:
parent
def4492107
commit
4013a36276
@ -99,9 +99,7 @@ public class ContactHelper {
|
||||
final Account[] accounts = AccountManager.get(context).getAccounts();
|
||||
final Set<String> emailSet = new HashSet<>();
|
||||
for (Account account : accounts) {
|
||||
if (Patterns.EMAIL_ADDRESS.matcher(account.name).matches()) {
|
||||
emailSet.add(account.name);
|
||||
}
|
||||
emailSet.add(account.name);
|
||||
}
|
||||
return emailSet;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user