Import SMS

This commit is contained in:
Paul Akhamiogu 2021-09-12 18:44:52 +01:00
parent 7f32115afe
commit 9656207135
14 changed files with 310 additions and 28 deletions

View file

@ -22,7 +22,6 @@ import java.io.InputStream
class MessagesReader(private val context: Context) {
companion object {
private const val TAG = "MessagesReader"
private const val MMS_CONTENT = "mms_content"
}
fun forEachSms(threadId: Long, block: (JsonObject) -> Unit) {
forEachThreadMessage(Telephony.Sms.CONTENT_URI, threadId, block)