mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01: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
@ -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 New Issue
Block a user