-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace
ALooper_pollAll
with ALooper_pollOnce
.
The `pollAll` API was removed because it can't be used safely. The recommendation is to replace existing calls to `pollAll` with `pollOnce` with an explicit loop. There are quite a few other samples that are doing this. Fixing one to start so I can check with someone that understands the `pollAll` bug so I don't accidentally copy the same bug, then I'll fix the others. #999
- Loading branch information
Showing
1 changed file
with
62 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters