summaryrefslogtreecommitdiffstats
path: root/include/android_runtime/android_app_NativeActivity.h
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-09-14 15:32:03 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-14 15:32:03 -0700
commit14bc6b5d0677e5c454a67775c852f90389bb4567 (patch)
tree5bdb785c2a486787fb2d4294980b51df69765d62 /include/android_runtime/android_app_NativeActivity.h
parent48a862407dda482450bdfd5aa2a2cd8b3e8e38dd (diff)
parent09340a4bb99507d9b6bfbfc68a450d4d4f354d73 (diff)
downloadframeworks_base-14bc6b5d0677e5c454a67775c852f90389bb4567.zip
frameworks_base-14bc6b5d0677e5c454a67775c852f90389bb4567.tar.gz
frameworks_base-14bc6b5d0677e5c454a67775c852f90389bb4567.tar.bz2
am 09340a4b: Merge "Replace epoll() with poll() and rename PollLoop to Looper." into gingerbread
Merge commit '09340a4bb99507d9b6bfbfc68a450d4d4f354d73' into gingerbread-plus-aosp * commit '09340a4bb99507d9b6bfbfc68a450d4d4f354d73': Replace epoll() with poll() and rename PollLoop to Looper.
Diffstat (limited to 'include/android_runtime/android_app_NativeActivity.h')
-rw-r--r--include/android_runtime/android_app_NativeActivity.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/android_runtime/android_app_NativeActivity.h b/include/android_runtime/android_app_NativeActivity.h
index fdceb84..b49e02a 100644
--- a/include/android_runtime/android_app_NativeActivity.h
+++ b/include/android_runtime/android_app_NativeActivity.h
@@ -18,6 +18,7 @@
#define _ANDROID_APP_NATIVEACTIVITY_H
#include <ui/InputTransport.h>
+#include <utils/Looper.h>
#include <android/native_activity.h>
@@ -69,7 +70,7 @@ public:
/* Destroys the consumer and releases its input channel. */
~AInputQueue();
- void attachLooper(ALooper* looper, int ident, ALooper_callbackFunc* callback, void* data);
+ void attachLooper(ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
void detachLooper();
@@ -103,7 +104,7 @@ private:
void wakeupDispatch();
android::InputConsumer mConsumer;
- android::sp<android::PollLoop> mPollLoop;
+ android::sp<android::Looper> mLooper;
int mDispatchKeyRead;
int mDispatchKeyWrite;