summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/video/impl/SurfaceViewVideoCallFragment.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/incallui/video/impl/SurfaceViewVideoCallFragment.java')
-rw-r--r--java/com/android/incallui/video/impl/SurfaceViewVideoCallFragment.java14
1 files changed, 1 insertions, 13 deletions
diff --git a/java/com/android/incallui/video/impl/SurfaceViewVideoCallFragment.java b/java/com/android/incallui/video/impl/SurfaceViewVideoCallFragment.java
index a65274276..29aea1459 100644
--- a/java/com/android/incallui/video/impl/SurfaceViewVideoCallFragment.java
+++ b/java/com/android/incallui/video/impl/SurfaceViewVideoCallFragment.java
@@ -184,13 +184,7 @@ public class SurfaceViewVideoCallFragment extends Fragment
LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) {
LogUtil.i("SurfaceViewVideoCallFragment.onCreateView", null);
- View view =
- layoutInflater.inflate(
- isLandscape()
- ? R.layout.frag_videocall_land_surfaceview
- : R.layout.frag_videocall_surfaceview,
- viewGroup,
- false);
+ View view = layoutInflater.inflate(R.layout.frag_videocall_surfaceview, viewGroup, false);
contactGridManager =
new ContactGridManager(view, null /* no avatar */, 0, false /* showAnonymousAvatar */);
@@ -639,12 +633,6 @@ public class SurfaceViewVideoCallFragment extends Fragment
shouldShowPreview,
shouldShowRemote);
- if (this.shouldShowPreview == shouldShowPreview
- && this.shouldShowRemote == shouldShowRemote
- && this.isRemotelyHeld == isRemotelyHeld) {
- return;
- }
-
this.shouldShowPreview = shouldShowPreview;
this.shouldShowRemote = shouldShowRemote;
this.isRemotelyHeld = isRemotelyHeld;