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

@@ -217,7 +217,7 @@ static void* android_app_entry(void* param) {
android_app->inputPollSource.process = process_input;
ALooper* looper = ALooper_prepare(ALOOPER_PREPARE_ALLOW_NON_CALLBACKS);
ALooper_addFd(looper, android_app->msgread, LOOPER_ID_MAIN, POLLIN, NULL,
ALooper_addFd(looper, android_app->msgread, LOOPER_ID_MAIN, ALOOPER_EVENT_INPUT, NULL,
&android_app->cmdPollSource);
android_app->looper = looper;