Update NDK headers and samples to sync up with looper API changes.

Change-Id: I7082603bf280888be90dc4df687521aaae9b1d02
This commit is contained in:
Jeff Brown
2010-09-13 23:57:28 -07:00
parent 12d3ad89e4
commit 9f44e97108
7 changed files with 166 additions and 80 deletions

View File

@@ -476,7 +476,7 @@ void android_main(struct android_app* state) {
// If not animating, we will block forever waiting for events.
// If animating, we loop until all events are read, then continue
// to draw the next frame of animation.
while ((ident=ALooper_pollAll(engine.animating ? 0 : -1, &events,
while ((ident=ALooper_pollAll(engine.animating ? 0 : -1, NULL, &events,
(void**)&source)) >= 0) {
// Process this event.