Fix FC when rotating incall view

This commit is contained in:
Sylvain Berfini 2012-04-04 15:41:31 +02:00
parent 9a9cd5a54e
commit 4f472b10a5

View file

@ -665,7 +665,12 @@ public class IncallActivity extends AbstractCalleesActivity implements
@Override @Override
public void onConfigurationChanged(Configuration newConfig) 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() { private void updateConfItem() {