mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 17:08:34 +03:00
hide navigation bar if pip is not available
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
f5106e6050
commit
89d0bcfc78
1 changed files with 8 additions and 0 deletions
|
@ -284,6 +284,14 @@ public class CallActivity extends BaseActivity {
|
|||
binding = CallActivityBinding.inflate(getLayoutInflater());
|
||||
setContentView(binding.getRoot());
|
||||
|
||||
if (!isPipModePossible()){
|
||||
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE |
|
||||
View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION |
|
||||
View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION |
|
||||
View.SYSTEM_UI_FLAG_FULLSCREEN | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);
|
||||
binding.controllerCallLayout.setFitsSystemWindows(false);
|
||||
}
|
||||
|
||||
Bundle extras = getIntent().getExtras();
|
||||
roomId = extras.getString(BundleKeys.INSTANCE.getKEY_ROOM_ID(), "");
|
||||
roomToken = extras.getString(BundleKeys.INSTANCE.getKEY_ROOM_TOKEN(), "");
|
||||
|
|
Loading…
Reference in a new issue