mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-25 11:19:59 +01:00
fwgslib: fix immersive mode check
This commit is contained in:
parent
8082d2092f
commit
8b6243d872
@ -260,10 +260,10 @@ public class FWGSLib
|
||||
|
||||
static class Compat_19 extends Compat_9
|
||||
{
|
||||
public void applyImmersiveMode(boolean keyboardVisible, View decorView)
|
||||
public void applyImmersiveMode( boolean keyboardVisible, View decorView )
|
||||
{
|
||||
//if( !XashActivity.mPref.getBoolean( "immersive_mode", false ) )
|
||||
// return;
|
||||
if( decorView == null )
|
||||
return;
|
||||
if( keyboardVisible )
|
||||
decorView.setSystemUiVisibility(
|
||||
0x00000100 // View.SYSTEM_UI_FLAG_LAYOUT_STABLE
|
||||
|
Loading…
Reference in New Issue
Block a user