mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 11:38:51 +01:00
Use MediaStore for saving attachments to device
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
package com.moez.QKSMS.repository
|
||||
|
||||
import android.net.Uri
|
||||
import com.moez.QKSMS.model.Attachment
|
||||
import com.moez.QKSMS.model.Message
|
||||
import com.moez.QKSMS.model.MmsPart
|
||||
@@ -40,7 +41,7 @@ interface MessageRepository {
|
||||
|
||||
fun getPartsForConversation(threadId: Long): RealmResults<MmsPart>
|
||||
|
||||
fun savePart(id: Long): File?
|
||||
fun savePart(id: Long): Uri?
|
||||
|
||||
/**
|
||||
* Retrieves the list of messages which should be shown in the notification
|
||||
|
||||
Reference in New Issue
Block a user