Skip to content

Commit

Permalink
Fix compile issue on latest android API
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed May 15, 2024
1 parent 9a05f40 commit 6145be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/driver/mobile/app/android.go
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ func runInputQueue(vm, jniEnv, ctx uintptr) error {

var q *C.AInputQueue
for {
if C.ALooper_pollAll(-1, nil, nil, nil) == C.ALOOPER_POLL_WAKE {
if C.ALooper_pollOnce(-1, nil, nil, nil) == C.ALOOPER_POLL_WAKE {
select {
default:
case p := <-pending:
Expand Down

0 comments on commit 6145be2

Please sign in to comment.