mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-19 04:18:53 +01:00
add delay send mms. add group send to individual recipients - sms and mms. add immediate show messages in convo, not wait for sent. new qktransaction that replaces android/smsmms transaction with mods for quik. lots of code cleanups and removing superfluous code. some bug fixes.
This commit is contained in:
@@ -21,6 +21,7 @@ package com.moez.QKSMS.contentproviders
|
||||
import android.content.ContentProvider
|
||||
import android.content.ContentResolver
|
||||
import android.content.ContentValues
|
||||
import android.content.Context
|
||||
import android.database.Cursor
|
||||
import android.net.Uri
|
||||
import android.os.ParcelFileDescriptor
|
||||
@@ -55,21 +56,21 @@ class MmsPartProvider : ContentProvider() {
|
||||
.encodedPath("part/$partId")
|
||||
.build()
|
||||
}
|
||||
|
||||
fun getUriForMmsPartId(partId: Long, partName: String): Uri {
|
||||
return Uri
|
||||
.Builder()
|
||||
.scheme(ContentResolver.SCHEME_CONTENT)
|
||||
.authority("dev.octoshrimpy.quik.mmspart")
|
||||
.encodedPath("part/$partId/$partName")
|
||||
.build()
|
||||
}
|
||||
}
|
||||
|
||||
override fun onCreate(): Boolean {
|
||||
return true
|
||||
}
|
||||
|
||||
fun getUriForMmsPartId(context: Context, partId: Long, partName: String): Uri {
|
||||
return Uri
|
||||
.Builder()
|
||||
.scheme(ContentResolver.SCHEME_CONTENT)
|
||||
.authority("${context.packageName}.mmspart")
|
||||
.encodedPath("part/$partId/$partName")
|
||||
.build()
|
||||
}
|
||||
|
||||
override fun query(
|
||||
uri: Uri,
|
||||
projection: Array<String>?,
|
||||
|
||||
Reference in New Issue
Block a user