IMS-VT: The window of VT move down after peer rotating screen
Do not need to get amount of space below or beside the call card
for full screen mode.
Change-Id: Ie0fee436b4e2c51e5af8d1b32add6b07d18cf0de
CRs-Fixed: 1105252
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;