android: make reportConnectedOutgoingCall return a Promise

The call-integration middleware relies on it returning it, as iOS does.
This commit is contained in:
Saúl Ibarra Corretgé 2019-09-20 10:16:57 +02:00 committed by Saúl Ibarra Corretgé
parent 07bf95f838
commit 4ce65ae7a7
1 changed files with 2 additions and 1 deletions

View File

@ -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