mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 20:18:36 +00:00
Fix calling controll visibility bugs.
This commit is contained in:
@@ -172,10 +172,6 @@ public class CallParticipantView extends ConstraintLayout {
|
||||
|
||||
audioIndicator.setVisibility(View.VISIBLE);
|
||||
audioIndicator.bind(participant.isMicrophoneEnabled(), participant.getAudioLevel());
|
||||
|
||||
if (selfPipMode != SelfPipMode.NOT_SELF_PIP) {
|
||||
switchCameraIconFrame.setVisibility(participant.isVideoEnabled() ? View.VISIBLE : View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
if (participantChanged || !Objects.equals(contactPhoto, participant.getRecipient().getContactPhoto())) {
|
||||
|
||||
@@ -224,7 +224,7 @@ class ControlsAndInfoController(
|
||||
|
||||
showOrHideControlsOnUpdate(previousState)
|
||||
|
||||
if (controlState.controlVisibilitiesChanged(previousState)) {
|
||||
if (controlState != WebRtcControls.PIP && controlState.controlVisibilitiesChanged(previousState)) {
|
||||
updateControlVisibilities()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user