summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/video/impl/SurfaceViewVideoCallFragment.java
diff options
context:
space:
mode:
authorEric Erfanian <erfanian@google.com>2017-05-03 23:10:39 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-05-03 23:10:39 +0000
commitd67f1627521b174f12e0c247f154c7c93c5e408e (patch)
tree1a45d60921e293c6088efeaf4d9c408456f3e0e2 /java/com/android/incallui/video/impl/SurfaceViewVideoCallFragment.java
parent010981b798fbc6b8e6a00c3ea507f00c3e77c371 (diff)
parent8369df095a73a77b3715f8ae7ba06089cebca4ce (diff)
This change reflects the Dialer V10 RC00 branch.
am: 8369df095a Change-Id: I6820870feb74cba010ac3039e4da41325b3005f9
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;