mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-25 05:27:42 +00:00
Fix system PIP not closing on call end.
This commit is contained in:
committed by
Greyson Parrelli
parent
31998f2efb
commit
8996e3b0a7
@@ -265,7 +265,6 @@ public class WebRtcCallActivity extends BaseActivity implements SafetyNumberChan
|
||||
public void onResume() {
|
||||
Log.i(TAG, "onResume()");
|
||||
super.onResume();
|
||||
EventBus.getDefault().register(this);
|
||||
|
||||
initializeScreenshotSecurity();
|
||||
|
||||
@@ -311,7 +310,9 @@ public class WebRtcCallActivity extends BaseActivity implements SafetyNumberChan
|
||||
Log.i(TAG, "onPause");
|
||||
super.onPause();
|
||||
|
||||
EventBus.getDefault().unregister(this);
|
||||
if (!isInPipMode() || isFinishing()) {
|
||||
EventBus.getDefault().unregister(this);
|
||||
}
|
||||
|
||||
if (!callPermissionsDialogController.isAskingForPermission() && !viewModel.isCallStarting() && !isChangingConfigurations()) {
|
||||
CallParticipantsState state = viewModel.getCallParticipantsStateSnapshot();
|
||||
|
||||
Reference in New Issue
Block a user