Fix FC when rotating incall view
This commit is contained in:
parent
9a9cd5a54e
commit
4f472b10a5
1 changed files with 6 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue