kopia lustrzana https://github.com/ryukoposting/Signal-Android
rodzic
5ec9c1cd90
commit
cb79f75ac1
|
@ -51,6 +51,7 @@ public class CommunicationActions {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (recipient.isRegistered()) {
|
||||||
ApplicationDependencies.getSignalCallManager().isCallActive(new ResultReceiver(new Handler(Looper.getMainLooper())) {
|
ApplicationDependencies.getSignalCallManager().isCallActive(new ResultReceiver(new Handler(Looper.getMainLooper())) {
|
||||||
@Override
|
@Override
|
||||||
protected void onReceiveResult(int resultCode, Bundle resultData) {
|
protected void onReceiveResult(int resultCode, Bundle resultData) {
|
||||||
|
@ -66,6 +67,9 @@ public class CommunicationActions {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
startInsecureCall(activity, recipient);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void startVideoCall(@NonNull FragmentActivity activity, @NonNull Recipient recipient) {
|
public static void startVideoCall(@NonNull FragmentActivity activity, @NonNull Recipient recipient) {
|
||||||
|
|
Ładowanie…
Reference in New Issue