From 257f750543d039274eaa2724d2cf175782342308 Mon Sep 17 00:00:00 2001 From: Rune Berg Date: Sun, 18 Aug 2024 09:05:25 +1200 Subject: [PATCH] Update deprecated AlooperAll call to AlooperOnce --- src/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session.cpp b/src/session.cpp index ea94609..59e10af 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -147,7 +147,7 @@ namespace xrlib int nEvents; struct android_poll_source *androidPollSource; - if ( ALooper_pollAll( nTimeout, nullptr, &nEvents, (void **) &androidPollSource ) < 0 ) + if ( ALooper_pollOnce( nTimeout, nullptr, &nEvents, (void **) &androidPollSource ) < 0 ) { break; }