Android: replace deprecated ALooper_pollAll with aLooper_pollOnce


ALooper_pollAll has been deprecated and removed from NDK 27.
This patch replaces ALooper_pollAll with ALooper_pollOnce.
This patch adds also a wider return value handling.

Fixes: QTBUG-128167
Pick-to: 6.8 6.5
Change-Id: If744371fe2a50957a34d63451710af694afea7c2
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
commit26b1629741d76d36ec1e7364a295081160c0a1bc
parent2ba8c3bfb1954a36cffe5162e47896ab4cbc044d
authorRami Potinkara <rami.potinkara@qt.io>
committerRami Potinkara <rami.potinkara@qt.io>
commit timeThu, 7 Nov 2024 16:34:50 +0200