mirror of
https://github.com/etesync/android
synced 2025-01-23 14:10:54 +00:00
ViewCollection: fix addressbook stats.
This commit is contained in:
parent
51aecba9a0
commit
e729bcff42
@ -256,7 +256,7 @@ public class ViewCollectionActivity extends AppCompatActivity implements Refresh
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
LocalAddressBook resource = new LocalAddressBook(ViewCollectionActivity.this, account, getContentResolver().acquireContentProviderClient(ContactsContract.Contacts.CONTENT_URI));
|
||||
LocalAddressBook resource = LocalAddressBook.findByUid(ViewCollectionActivity.this, getContentResolver().acquireContentProviderClient(ContactsContract.Contacts.CONTENT_URI), account, info.uid);
|
||||
count = resource.count();
|
||||
} catch (ContactsStorageException e) {
|
||||
e.printStackTrace();
|
||||
|
Loading…
Reference in New Issue
Block a user