Android build tool update (#1160)
* Update to latest Android build tools ALooper_pollAll is deprecated * Update to latest Android build tools ALooper_pollAll is deprecated * Update to latest Android build tools Update manifests * Update to latest Android build tools ALooper_pollAll is deprecated * Update build instructions for Android
This commit is contained in:
parent
380ac448ab
commit
a734964b21
100 changed files with 302 additions and 289 deletions
|
|
@ -595,7 +595,7 @@ void android_main(android_app* state) {
|
|||
androidapp->onAppCmd = handleAppCommand;
|
||||
int ident, events;
|
||||
struct android_poll_source* source;
|
||||
while ((ident = ALooper_pollAll(-1, NULL, &events, (void**)&source)) >= 0) {
|
||||
while ((ident = ALooper_pollOnce(-1, NULL, &events, (void**)&source)) > ALOOPER_POLL_TIMEOUT) {
|
||||
if (source != NULL) {
|
||||
source->process(androidapp, source);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue