Merge "IMS-VT: The window of VT move down after peer rotating screen" into atel.lnx.2.0-dev
diff --git a/InCallUI/src/com/android/incallui/VideoCallFragment.java b/InCallUI/src/com/android/incallui/VideoCallFragment.java
index fe1422f..4e55fd7 100644
--- a/InCallUI/src/com/android/incallui/VideoCallFragment.java
+++ b/InCallUI/src/com/android/incallui/VideoCallFragment.java
@@ -520,7 +520,8 @@
* @param displayVideo The video view to center.
*/
private void centerDisplayView(View displayVideo) {
- if (!mIsLandscape) {
+ boolean isFullScreen = InCallPresenter.getInstance().isFullscreen();
+ if (!mIsLandscape && !isFullScreen) {
ViewGroup.LayoutParams p = displayVideo.getLayoutParams();
int height = p.height;