Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

Commit

Permalink
ref
Browse files Browse the repository at this point in the history
  • Loading branch information
lucky committed Feb 11, 2022
1 parent 2201bf1 commit ca19155
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions app/src/main/java/me/lucky/red/CallRedirectionService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@ import androidx.annotation.RequiresPermission

class CallRedirectionService : CallRedirectionService() {
companion object {
private const val SIGNAL_MIMETYPE =
"vnd.android.cursor.item/vnd.org.thoughtcrime.securesms.call"
private const val TELEGRAM_MIMETYPE =
"vnd.android.cursor.item/vnd.org.telegram.messenger.android.call"
private const val THREEMA_MIMETYPE =
"vnd.android.cursor.item/vnd.ch.threema.app.call"
private const val PREFIX = "vnd.android.cursor.item/vnd"
private const val SIGNAL_MIMETYPE = "$PREFIX.org.thoughtcrime.securesms.call"
private const val TELEGRAM_MIMETYPE = "$PREFIX.org.telegram.messenger.android.call"
private const val THREEMA_MIMETYPE = "$PREFIX.ch.threema.app.call"
private val MIMETYPES = mapOf(
SIGNAL_MIMETYPE to 0,
TELEGRAM_MIMETYPE to 1,
Expand Down

0 comments on commit ca19155

Please sign in to comment.