mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 09:49:21 +02:00
auto-accept calls for testing
This commit is contained in:
parent
f6ce98f9a2
commit
7ec87f55b6
1 changed files with 2 additions and 2 deletions
|
@ -25,11 +25,11 @@ public class VideochatUtil {
|
|||
int chatId = dcMsg.getChatId();
|
||||
String hash = "#offer=" + payload;
|
||||
|
||||
DcHelper.getNotificationCenter(activity).addCallNotification(accId, chatId, callId);
|
||||
//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);
|
||||
openCall(activity, chatId, callId, hash);
|
||||
}
|
||||
|
||||
private static void openCall(Activity activity, int chatId, int callId, String hash) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue