android: make reportConnectedOutgoingCall return a Promise
The call-integration middleware relies on it returning it, as iOS does.
This commit is contained in:
parent
07bf95f838
commit
4ce65ae7a7
|
@ -144,9 +144,10 @@ class RNConnectionService
|
||||||
* @param callUUID - the call's UUID.
|
* @param callUUID - the call's UUID.
|
||||||
*/
|
*/
|
||||||
@ReactMethod
|
@ReactMethod
|
||||||
public void reportConnectedOutgoingCall(String callUUID) {
|
public void reportConnectedOutgoingCall(String callUUID, Promise promise) {
|
||||||
JitsiMeetLogger.d(TAG + " reportConnectedOutgoingCall " + callUUID);
|
JitsiMeetLogger.d(TAG + " reportConnectedOutgoingCall " + callUUID);
|
||||||
ConnectionService.setConnectionActive(callUUID);
|
ConnectionService.setConnectionActive(callUUID);
|
||||||
|
promise.resolve(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue