From 4f472b10a5a23346c48e92629c209873f623059a Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Wed, 4 Apr 2012 15:41:31 +0200 Subject: [PATCH] Fix FC when rotating incall view --- src/org/linphone/IncallActivity.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/org/linphone/IncallActivity.java b/src/org/linphone/IncallActivity.java index 74e7a9f47..3cd9db80b 100644 --- a/src/org/linphone/IncallActivity.java +++ b/src/org/linphone/IncallActivity.java @@ -665,7 +665,12 @@ public class IncallActivity extends AbstractCalleesActivity implements @Override public void onConfigurationChanged(Configuration newConfig) { - // DO nothing to not recreate the activity on smartphone is screen is rotated + if (!isXLargeScreen()) + { + // Do nothing to not recreate the activity on smartphone is screen is rotated + return; + } + super.onConfigurationChanged(newConfig); } private void updateConfItem() {