Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af62b064 authored by Moez Bhatti's avatar Moez Bhatti
Browse files

Query for non-null contact group titles

parent 118da536
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -35,7 +35,8 @@ class CursorToContactGroupImpl @Inject constructor(
                ContactsContract.Groups.TITLE)
        private const val SELECTION = "${ContactsContract.Groups.AUTO_ADD}=0 " +
                "AND ${ContactsContract.Groups.DELETED}=0 " +
                "AND ${ContactsContract.Groups.FAVORITES}=0"
                "AND ${ContactsContract.Groups.FAVORITES}=0 " +
                "AND ${ContactsContract.Groups.TITLE} IS NOT NULL"

        private const val ID = 0
        private const val TITLE = 1