android: make reportConnectedOutgoingCall return a Promise

The call-integration middleware relies on it returning it, as iOS does.
pull/4663/head
Saúl Ibarra Corretgé 5 years ago committed by Saúl Ibarra Corretgé
parent 07bf95f838
commit 4ce65ae7a7
  1. 3
      android/sdk/src/main/java/org/jitsi/meet/sdk/RNConnectionService.java

@ -144,9 +144,10 @@ class RNConnectionService
* @param callUUID - the call's UUID.
*/
@ReactMethod
public void reportConnectedOutgoingCall(String callUUID) {
public void reportConnectedOutgoingCall(String callUUID, Promise promise) {
JitsiMeetLogger.d(TAG + " reportConnectedOutgoingCall " + callUUID);
ConnectionService.setConnectionActive(callUUID);
promise.resolve(null);
}
@Override

Loading…
Cancel
Save