mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 20:18:36 +00:00
Fix call camera enable on rotation bug.
This commit is contained in:
committed by
Greyson Parrelli
parent
8d8c21f228
commit
d23c6fb41c
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user