mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
Workaround to ensure the status bar is displayed, needed on some devices
This commit is contained in:
parent
4f9f65bcbf
commit
9149cd5820
1 changed files with 4 additions and 1 deletions
|
|
@ -232,12 +232,12 @@ public class LinphoneActivity extends FragmentActivity implements
|
|||
return;
|
||||
}
|
||||
|
||||
findViewById(R.id.status).setVisibility(View.VISIBLE);
|
||||
if (statusFragment != null && !statusFragment.isVisible()) {
|
||||
// Hack to ensure statusFragment is visible after coming back to
|
||||
// dialer from chat
|
||||
statusFragment.getView().setVisibility(View.VISIBLE);
|
||||
}
|
||||
findViewById(R.id.status).setVisibility(View.VISIBLE);
|
||||
findViewById(R.id.fragmentContainer).setPadding(0, LinphoneUtils.pixelsToDpi(getResources(), 40), 0, 0);
|
||||
}
|
||||
|
||||
|
|
@ -1384,6 +1384,9 @@ public class LinphoneActivity extends FragmentActivity implements
|
|||
showStatusBar();
|
||||
reloadConfig();
|
||||
updateAnimationsState();
|
||||
} else if (currentFragment == FragmentsAvailable.CHATLIST) {
|
||||
//Hack to ensure display the status bar on some devices
|
||||
showStatusBar();
|
||||
}
|
||||
}
|
||||
} else if (keyCode == KeyEvent.KEYCODE_MENU && statusFragment != null) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue