It seems that it is only in legacy code, so 1) you must use -Dlegacy, 2) fullscreen=“true” must be set for window and 3) ANDROID_TARGET_SDK_VERSION should be less than 19
If it didn’t help, please show me what is under export/android/bin/src/org/haxe/lime/GameActivity.java
::if WIN_FULLSCREEN::
::if (ANDROID_TARGET_SDK_VERSION < 19)::
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN
| WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
::end::
::end::
That’s strange, both FLAG_FULLSCREEN and FLAG_KEEP_SCREEN_ON is available even on API 22. @singmajesty What do you think about it?
