Fix call camera enable on rotation bug.
This commit is contained in:
parent
8d8c21f228
commit
d23c6fb41c
1 changed files with 13 additions and 9 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue