From 827e7bf59889896c44e6508bf043667619e97452 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 10 Aug 2022 09:45:26 -0500 Subject: [PATCH] Set dialler integration active as soon as we return the connection Since that is the point where the phone call starts from the OS point of view, and we do want to prevent the app from thinking we are in a not-us call when the dialler integration is in use. --- src/cheogram/java/com/cheogram/android/ConnectionService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cheogram/java/com/cheogram/android/ConnectionService.java b/src/cheogram/java/com/cheogram/android/ConnectionService.java index 9f02369a1ecfc4d7af7be916975f2c9f095a5fa3..29ca3c2a6a591b5c18cfb0c2e3bc6bc37055e910 100644 --- a/src/cheogram/java/com/cheogram/android/ConnectionService.java +++ b/src/cheogram/java/com/cheogram/android/ConnectionService.java @@ -165,6 +165,7 @@ public class ConnectionService extends android.telecom.ConnectionService { (XmppConnectionService.OnJingleRtpConnectionUpdate) connection ); + xmppConnectionService.setDiallerIntegrationActive(true); return connection; }