Fix missing status bar issue

This commit is contained in:
Sylvain Berfini 2012-09-24 16:29:19 +02:00
parent b0d78b4517
commit f8aa2468f1
2 changed files with 5 additions and 1 deletions

View file

@ -205,6 +205,10 @@ public class LinphoneActivity extends FragmentActivity implements OnClickListene
private void showStatusBar() {
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.fragmentContainer).setPadding(0, LinphoneUtils.pixelsToDpi(getResources(), 40), 0, 0);
}