| Issues with screen lock on android |
| Issues with screen lock on android |
|
gabomdq
|
2013/8/7 Alexey Petruchik
This seems to be a bug, feel free to report on Bugzilla. The problem is that at some point someone added SDL_APP_WILLENTERBACKGROUND / SDL_APP_DIDENTERBACKGROUND messaging on Android (probably to match iOS behavior), but we didn't add a provision on the event loop to not block it until that message reached the app. If you look at Android_PumpEvents, you'll see a "if (SDL_HasEvent(SDL_WINDOWEVENT))" that prevents the loop from blocking until the window minimized messages reach the app. I think something of the same sort will need to be added there for these new messages. -- Gabriel. |
|||||||||||||
|
|
||||||||||||||

