mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-31 05:46:15 +00:00
Consolidate Call UI visibility selection logic.
This commit is contained in:
@@ -177,6 +177,7 @@ public class WebRtcCallActivity extends AppCompatActivity {
|
||||
|
||||
private void processIntent(@NonNull Intent intent) {
|
||||
if (ANSWER_ACTION.equals(intent.getAction())) {
|
||||
viewModel.setRecipient(EventBus.getDefault().getStickyEvent(WebRtcViewModel.class).getRecipient());
|
||||
handleAnswerWithAudio();
|
||||
} else if (DENY_ACTION.equals(intent.getAction())) {
|
||||
handleDenyCall();
|
||||
|
||||
Reference in New Issue
Block a user