v3.2.2: Increased minimum Android to 5.0 from 4.0, and Java from 8 to 11

This commit is contained in:
Evan Debenham
2025-08-17 10:52:27 -04:00
parent 797f2791a4
commit 83535d9723
6 changed files with 21 additions and 53 deletions

View File

@@ -32,14 +32,15 @@ public class DeviceCompat {
public static boolean supportsFullScreen(){
switch (Gdx.app.getType()){
case Android:
//Android 4.4+ supports hiding UI via immersive mode
return Gdx.app.getVersion() >= 19;
//TODO perhaps have this vary based on status bar type?
return true;
case iOS:
//iOS supports hiding UI via drawing into the gesture safe area
return Gdx.graphics.getSafeInsetBottom() != 0;
default:
//TODO implement functionality for other platforms here
case Desktop:
return true;
default:
return false;
}
}