@@ -289,7 +289,7 @@ private void startForegroundService() {
289289 return ;
290290 }
291291 Log .d (TAG , "[VoiceConnectionService] startForegroundService" );
292- ReadableMap foregroundSettings = getForegroundSettings ();
292+ ReadableMap foregroundSettings = getForegroundSettings (null );
293293
294294 if (foregroundSettings == null || !foregroundSettings .hasKey ("channelId" )) {
295295 Log .w (TAG , "[VoiceConnectionService] Not creating foregroundService because not configured" );
@@ -325,7 +325,7 @@ private void startForegroundService() {
325325
326326 private void stopForegroundService () {
327327 Log .d (TAG , "[VoiceConnectionService] stopForegroundService" );
328- ReadableMap foregroundSettings = getForegroundSettings ();
328+ ReadableMap foregroundSettings = getForegroundSettings (null );
329329
330330 if (foregroundSettings == null || !foregroundSettings .hasKey ("channelId" )) {
331331 Log .d (TAG , "[VoiceConnectionService] Discarding stop foreground service, no service configured" );
@@ -476,7 +476,7 @@ public void onCreateIncomingConnectionFailed(PhoneAccountHandle connectionManage
476476 extrasMap .put (EXTRA_CALL_NUMBER , callerNumber );
477477 }
478478
479- sendCallRequestToActivity (ACTION_ON_CREATE_CONNECTION_FAILED , extrasMap );
479+ sendCallRequestToActivity (ACTION_ON_CREATE_CONNECTION_FAILED , extrasMap , true );
480480 }
481481
482482 // When a listener is available for `sendCallRequestToActivity`, send delayed events.
0 commit comments