mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 00:50:40 +00:00
8552eec7a1
ALooper_pollAll was obsoleted since NDK 27 and resulted in renderdoccmd_android.cpp:526:8: error: 'ALooper_pollAll' is unavailable: obsoleted in Android 1 - ALooper_pollAll may ignore wakes. Use ALooper_pollOnce instead. See The API documentation for more information Since we poll from within a loop, we can replace it by ALooper_pollOnce directly. But to be on the safe side, do this only on NDK 27+.