2
0
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:
mittorn 2020-07-10 06:52:57 +07:00
parent 8082d2092f
commit 8b6243d872

View File

@ -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