mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
fwgslib: fix immersive mode check
This commit is contained in:
@@ -262,8 +262,8 @@ public class FWGSLib
|
||||
{
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user