feat: use models during export, try to update conversation date during import
This commit is contained in:
parent
e10a410788
commit
d78776e288
11 changed files with 216 additions and 149 deletions
|
|
@ -18,8 +18,6 @@ data class MmsBackup(
|
|||
val dateSent: Long,
|
||||
@SerializedName("locked")
|
||||
val locked: Int,
|
||||
@SerializedName("m_id")
|
||||
val messageId: String?,
|
||||
@SerializedName("m_type")
|
||||
val messageType: Int,
|
||||
@SerializedName("msg_box")
|
||||
|
|
@ -40,14 +38,12 @@ data class MmsBackup(
|
|||
val subjectCharSet: String?,
|
||||
@SerializedName("sub_id")
|
||||
val subscriptionId: Long,
|
||||
@SerializedName("thread_id")
|
||||
val threadId: Long,
|
||||
@SerializedName("tr_id")
|
||||
val transactionId: String?,
|
||||
@SerializedName("addresses")
|
||||
val addresses: List<MmsAddress>,
|
||||
@SerializedName("parts")
|
||||
val mmsParts: List<MmsPart>,
|
||||
val parts: List<MmsPart>,
|
||||
) {
|
||||
|
||||
fun toContentValues(): ContentValues {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue