ref
This commit is contained in:
parent
2201bf11fa
commit
ca19155cea
1 changed files with 4 additions and 6 deletions
|
@ -11,12 +11,10 @@ import androidx.annotation.RequiresPermission
|
||||||
|
|
||||||
class CallRedirectionService : CallRedirectionService() {
|
class CallRedirectionService : CallRedirectionService() {
|
||||||
companion object {
|
companion object {
|
||||||
private const val SIGNAL_MIMETYPE =
|
private const val PREFIX = "vnd.android.cursor.item/vnd"
|
||||||
"vnd.android.cursor.item/vnd.org.thoughtcrime.securesms.call"
|
private const val SIGNAL_MIMETYPE = "$PREFIX.org.thoughtcrime.securesms.call"
|
||||||
private const val TELEGRAM_MIMETYPE =
|
private const val TELEGRAM_MIMETYPE = "$PREFIX.org.telegram.messenger.android.call"
|
||||||
"vnd.android.cursor.item/vnd.org.telegram.messenger.android.call"
|
private const val THREEMA_MIMETYPE = "$PREFIX.ch.threema.app.call"
|
||||||
private const val THREEMA_MIMETYPE =
|
|
||||||
"vnd.android.cursor.item/vnd.ch.threema.app.call"
|
|
||||||
private val MIMETYPES = mapOf(
|
private val MIMETYPES = mapOf(
|
||||||
SIGNAL_MIMETYPE to 0,
|
SIGNAL_MIMETYPE to 0,
|
||||||
TELEGRAM_MIMETYPE to 1,
|
TELEGRAM_MIMETYPE to 1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue