summaryrefslogtreecommitdiff
path: root/InCallUI
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2015-05-13 17:45:18 +0000
committerAndroid Partner Code Review <android-gerrit-partner@google.com>2015-05-13 17:45:20 +0000
commitb43c6b04645a76ba5dd712dbb6a3eb5620383915 (patch)
treeb7af277d586214b848eb09052b92cd1b73eb2c23 /InCallUI
parent63ce9a33a06df1ebc5c338afcae625b19bf6c40f (diff)
parentb95cee4816092054dca8786b840e51ce36e2cca9 (diff)
Merge "Fix issue where video surfaces show when dowgrading to audio in landscape." into m-wireless-dev
Diffstat (limited to 'InCallUI')
-rw-r--r--InCallUI/src/com/android/incallui/VideoCallFragment.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/InCallUI/src/com/android/incallui/VideoCallFragment.java b/InCallUI/src/com/android/incallui/VideoCallFragment.java
index 808655968..47c19e08e 100644
--- a/InCallUI/src/com/android/incallui/VideoCallFragment.java
+++ b/InCallUI/src/com/android/incallui/VideoCallFragment.java
@@ -477,13 +477,6 @@ public class VideoCallFragment extends BaseFragment<VideoCallPresenter,
Log.d(this, "onViewCreated: VideoSurfacesInUse=" + sVideoSurfacesInUse);
mVideoViewsStub = (ViewStub) view.findViewById(R.id.videoCallViewsStub);
-
- // If the surfaces are already in use, we have just changed orientation or otherwise
- // re-created the fragment. In this case we need to inflate the video call views and
- // restore the surfaces.
- if (sVideoSurfacesInUse) {
- inflateVideoCallViews();
- }
}
@Override