love-android
love-android copied to clipboard
Build crashes if fullscreen & getSafeArea() is called.
If fullscreen is set to true, either through love.conf(), love.window.setFullscreen() or love.setMode() and then love.window.getSafeArea() is called then the application will crash.
function love.load()
love.window.setFullscreen(true)
print(love.window.getSafeArea())
end
If you run this code, logcat will show multiple errors.
The application will run fine if setFullscreen is called without calling getSafeArea and vice versa. It just means you cannot access the safe area while in fullscreen mode.
However, getSafeArea() can be called before setting fullscreen, but this does not work as the safe area returned has x and y set to 0, 0. If these were accurate numbers this method might be usable.