Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12a51def authored by Oya Masafumi's avatar Oya Masafumi Committed by android-build-merger
Browse files

Merge "Fix issue that the hold label is not shown during remote video holding"

am: c1c93761

Change-Id: I0833a15a8920489d400beda60acbf921ee226c15
parents ea194aec c1c93761
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -696,9 +696,17 @@ public class VideoCallFragment extends Fragment
    videoCallScreenDelegate.getLocalVideoSurfaceTexture().attachToTextureView(previewTextureView);
    videoCallScreenDelegate.getRemoteVideoSurfaceTexture().attachToTextureView(remoteTextureView);

    this.isRemotelyHeld = isRemotelyHeld;
    boolean updateRemoteOffView = false;
    if (this.shouldShowRemote != shouldShowRemote) {
      this.shouldShowRemote = shouldShowRemote;
      updateRemoteOffView = true;
    }
    if (this.isRemotelyHeld != isRemotelyHeld) {
      this.isRemotelyHeld = isRemotelyHeld;
      updateRemoteOffView = true;
    }

    if (updateRemoteOffView) {
      updateRemoteOffView();
    }
    if (this.shouldShowPreview != shouldShowPreview) {