Remove dublicate email check

This commit is contained in:
Dominik Schürmann 2015-03-06 11:20:45 +01:00
parent def4492107
commit 4013a36276

View File

@ -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;
}