From 320c120a61f7e262d7ba77f21dfe58565871ecba Mon Sep 17 00:00:00 2001 From: adbenitez Date: Wed, 10 Sep 2025 13:01:05 +0200 Subject: [PATCH] don't use calls integration API --- .../thoughtcrime/securesms/videochat/VideochatUtil.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main/java/org/thoughtcrime/securesms/videochat/VideochatUtil.java b/src/main/java/org/thoughtcrime/securesms/videochat/VideochatUtil.java index 9225cae07..11f7311ba 100644 --- a/src/main/java/org/thoughtcrime/securesms/videochat/VideochatUtil.java +++ b/src/main/java/org/thoughtcrime/securesms/videochat/VideochatUtil.java @@ -26,9 +26,6 @@ public class VideochatUtil { String hash = "#offer=" + payload; //DcHelper.getNotificationCenter(activity).addCallNotification(accId, chatId, callId); - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { - CallIntegrationService.addNewIncomingCall(activity, accId, chatId, callId, payload); - } openCall(activity, chatId, callId, hash); } @@ -41,10 +38,6 @@ public class VideochatUtil { .ifNecessary() .withPermanentDenialDialog(activity.getString(R.string.perm_explain_access_to_camera_denied)) .onAllGranted(() -> { - if ("#call".equals(hash) && Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { - CallIntegrationService.registerPhoneAccount(activity, accId); - CallIntegrationService.placeCall(activity, accId, chatId); - } Intent intent = new Intent(activity, VideochatActivity.class); intent.setAction(Intent.ACTION_VIEW); intent.putExtra(VideochatActivity.EXTRA_CHAT_ID, chatId);