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:
Sascha Willems 2024-10-11 14:31:04 +02:00 committed by GitHub
parent 380ac448ab
commit a734964b21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
100 changed files with 302 additions and 289 deletions

View file

@ -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);
}

View file

@ -930,7 +930,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);
}