mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
dad420670f
If the app is in landscape mode and the user presses the power button, a pause is followed immediately by a surfaceChanged event because the lock screen is shown in portrait mode. This triggers a "false" resume. So, we just pause and resume following the onWindowFocusChanged events. Also, wait for SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERBACKGROUND before blocking the event pump.
18 lines
698 B
Properties
18 lines
698 B
Properties
# This file is used to override default values used by the Ant build system.
|
|
#
|
|
# This file must be checked into Version Control Systems, as it is
|
|
# integral to the build system of your project.
|
|
|
|
# This file is only used by the Ant script.
|
|
|
|
# You can use this to override default values such as
|
|
# 'source.dir' for the location of your java source folder and
|
|
# 'out.dir' for the location of your output folder.
|
|
|
|
# You can also use it define how the release builds are signed by declaring
|
|
# the following properties:
|
|
# 'key.store' for the location of your keystore and
|
|
# 'key.alias' for the name of the key to use.
|
|
# The password will be asked during the build when you use the 'release' target.
|
|
|