Skip to content

Commit 6c37027

Browse files
authored
Merge pull request #721 from react-native-webrtc/fix_payload_argument
Do not expose payload as bridge argument
2 parents 7725080 + b51f247 commit 6c37027

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@ public void displayIncomingCall(String uuid, String number, String callerName, b
317317
this.displayIncomingCall(uuid, number, callerName, hasVideo, null);
318318
}
319319

320-
@ReactMethod
321320
public void displayIncomingCall(String uuid, String number, String callerName, boolean hasVideo, @Nullable Bundle payload) {
322321
if (!isConnectionServiceAvailable() || !hasPhoneAccount()) {
323322
Log.w(TAG, "[RNCallKeepModule] displayIncomingCall ignored due to no ConnectionService or no phone account");
@@ -367,7 +366,6 @@ public void startCall(String uuid, String number, String callerName, boolean has
367366
this.startCall(uuid, number, callerName, hasVideo, null);
368367
}
369368

370-
@ReactMethod
371369
public void startCall(String uuid, String number, String callerName, boolean hasVideo, @Nullable Bundle payload) {
372370
Log.d(TAG, "[RNCallKeepModule] startCall called, uuid: " + uuid + ", number: " + number + ", callerName: " + callerName + ", payload: " + payload);
373371

0 commit comments

Comments
 (0)