mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 12:32:17 -05:00
Remove dublicate email check
This commit is contained in:
parent
def4492107
commit
4013a36276
@ -99,10 +99,8 @@ 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);
|
||||
}
|
||||
}
|
||||
return emailSet;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user