summaryrefslogtreecommitdiff
path: root/InCallUI
diff options
context:
space:
mode:
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 24e9e8d76..ce14e48f9 100644
--- a/InCallUI/src/com/android/incallui/VideoCallFragment.java
+++ b/InCallUI/src/com/android/incallui/VideoCallFragment.java
@@ -473,13 +473,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