From 053f4effbb245795712f5c28879760e34e9325ee Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Fri, 25 May 2012 14:46:00 +0200 Subject: [PATCH] Fix rotation FC if nowebcam --- src/org/linphone/VideoCallActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/linphone/VideoCallActivity.java b/src/org/linphone/VideoCallActivity.java index bb238d446..89b3a5b81 100755 --- a/src/org/linphone/VideoCallActivity.java +++ b/src/org/linphone/VideoCallActivity.java @@ -476,7 +476,7 @@ public class VideoCallActivity extends Activity implements params.setMargins(0, 0, 15, 15); params.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM); params.addRule(RelativeLayout.ALIGN_PARENT_RIGHT); - if (mVideoViewReady != null) + if (mVideoViewReady != null && mVideoCaptureViewReady != null) mVideoCaptureViewReady.setLayoutParams(params); }