Move system contact interactions into their own module.

This commit is contained in:
Greyson Parrelli
2022-03-24 12:47:27 -04:00
parent fd930d0b1d
commit dddf830e47
52 changed files with 1924 additions and 1640 deletions

View File

@@ -1901,7 +1901,7 @@ open class RecipientDatabase(context: Context, databaseHelper: SignalDatabase) :
}
}
fun getAllPhoneNumbers(): Set<String> {
fun getAllE164s(): Set<String> {
val results: MutableSet<String> = HashSet()
readableDatabase.query(TABLE_NAME, arrayOf(PHONE), null, null, null, null, null).use { cursor ->
while (cursor != null && cursor.moveToNext()) {