Fix missing status bar issue
This commit is contained in:
parent
b0d78b4517
commit
f8aa2468f1
2 changed files with 5 additions and 1 deletions
|
@ -205,6 +205,10 @@ public class LinphoneActivity extends FragmentActivity implements OnClickListene
|
||||||
|
|
||||||
private void showStatusBar() {
|
private void showStatusBar() {
|
||||||
findViewById(R.id.status).setVisibility(View.VISIBLE);
|
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);
|
findViewById(R.id.fragmentContainer).setPadding(0, LinphoneUtils.pixelsToDpi(getResources(), 40), 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -99,7 +99,7 @@ public class StatusFragment extends Fragment {
|
||||||
|
|
||||||
// We create it once to not delay the first display
|
// We create it once to not delay the first display
|
||||||
populateSliderContent();
|
populateSliderContent();
|
||||||
|
|
||||||
return view;
|
return view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue