Get visible contact groups only

This commit is contained in:
M66B 2019-08-29 15:54:32 +02:00
parent 7aaf736004
commit 41a789e319
1 changed files with 2 additions and 1 deletions

View File

@ -3370,7 +3370,8 @@ public class FragmentCompose extends FragmentBase {
ContactsContract.Groups._ID,
ContactsContract.Groups.TITLE
},
null, null, ContactsContract.Groups.TITLE
ContactsContract.Groups.GROUP_VISIBLE + " = 1", null,
ContactsContract.Groups.TITLE
);
final SimpleCursorAdapter adapter = new SimpleCursorAdapter(