Fix call camera enable on rotation bug.

This commit is contained in:
Cody Henthorne 2025-01-09 15:37:24 -05:00 committed by Greyson Parrelli
parent 8d8c21f228
commit d23c6fb41c

View file

@ -202,6 +202,7 @@ public class WebRtcCallActivity extends BaseActivity implements SafetyNumberChan
lifecycleDisposable.add(controlsAndInfo);
if (savedInstanceState == null) {
logIntent(callIntent);
if (callIntent.getAction() == CallIntent.Action.ANSWER_VIDEO) {
@ -214,6 +215,9 @@ public class WebRtcCallActivity extends BaseActivity implements SafetyNumberChan
}
processIntent(callIntent);
} else {
Log.d(TAG, "Activity likely rotated, not processing intent");
}
registerSystemPipChangeListeners();