From 09cc459caff2ebf71bb669dc131191b66c874e00 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Mon, 30 Sep 2024 14:43:28 +0200 Subject: [PATCH] Update NDK version --- build.gradle | 2 +- client/application.cpp | 2 +- client/main.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 79efdebd..0a29f939 100644 --- a/build.gradle +++ b/build.gradle @@ -58,7 +58,7 @@ task "generatePngs"() { android { namespace "org.meumeu.wivrn" - ndkVersion "26.1.10909125" + ndkVersion "27.1.12297006" defaultConfig { applicationId "org.meumeu.wivrn" diff --git a/client/application.cpp b/client/application.cpp index 29fe3388..96451f3e 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -1151,7 +1151,7 @@ void application::run() struct android_poll_source * source; // TODO signal with a file descriptor instead of a 100ms timeout - while (ALooper_pollAll(100, nullptr, &events, (void **)&source) >= 0) + while (ALooper_pollOnce(100, nullptr, &events, (void **)&source) >= 0) { // Process this event. if (source != nullptr) diff --git a/client/main.cpp b/client/main.cpp index 996572e9..d542f720 100644 --- a/client/main.cpp +++ b/client/main.cpp @@ -97,7 +97,7 @@ void real_main() int events; struct android_poll_source * source; - while (ALooper_pollAll(100, nullptr, &events, (void **)&source) >= 0) + while (ALooper_pollOnce(100, nullptr, &events, (void **)&source) >= 0) { // Process this event. if (source != nullptr)