Skip to content

Commit 27d8c2c

Browse files
committed
Fix rebase
1 parent 6fdf885 commit 27d8c2c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

android/src/main/java/io/wazo/callkeep/VoiceConnectionService.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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.

ios/RNCallKeep/RNCallKeep.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ - (void)dealloc
114114
RNCallKeepDidToggleHoldAction,
115115
RNCallKeepProviderReset,
116116
RNCallKeepCheckReachability,
117-
RNCallKeepDidChangeAudioRoute,
118-
RNCallKeepDidLoadWithEvents
117+
RNCallKeepDidLoadWithEvents,
118+
RNCallKeepDidChangeAudioRoute
119119
];
120120
}
121121

0 commit comments

Comments
 (0)