SDL/android-project
klirktag a442367706
Some checks failed
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
Android: hide system bars via WindowInsetsController on API 30+
The immersive-fullscreen code hid the status and navigation bars with the
deprecated View.setSystemUiVisibility() flags plus FLAG_FULLSCREEN. On
Android 15+ (API 35), edge-to-edge is enforced for apps targeting SDK 35+
and those flags are ignored, so the bars never hide (e.g. on a Samsung
S25). Android 14 and below still honour them, which is why older devices
were unaffected.

Hide/show the system bars with WindowInsetsController on API 30+ (using
BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE for sticky-immersive), keeping the
legacy setSystemUiVisibility() path for API < 30. The minimum supported
version is unchanged.
2026-06-21 10:15:54 -05:00
..
app Android: hide system bars via WindowInsetsController on API 30+ 2026-06-21 10:15:54 -05:00
gradle/wrapper Provide Android targetsdk 35 support in SDL2 (#13776) 2025-09-13 07:17:28 -07:00
build.gradle Provide Android targetsdk 35 support in SDL2 (#13776) 2025-09-13 07:17:28 -07:00
gradle.properties Switched to new style gradle Android application build process 2017-10-23 15:23:43 -07:00
gradlew Avoid use of deprecated egrep/fgrep 2022-11-24 02:59:41 -08:00
gradlew.bat Switched to new style gradle Android application build process 2017-10-23 15:23:43 -07:00
settings.gradle Switched to new style gradle Android application build process 2017-10-23 15:23:43 -07:00