diff options
author | Jeff Brown <jeffbrown@google.com> | 2010-09-15 12:32:29 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-09-15 12:32:29 -0700 |
commit | 49478536b6b8b28f33398393bed5e939085af7af (patch) | |
tree | a83f41bc6da9dd267005ad23b0b32c6f40f860d0 /include/android_runtime | |
parent | a5ab8ce602ecfd897805e185c89a6eff0c78aabe (diff) | |
parent | 14bc6b5d0677e5c454a67775c852f90389bb4567 (diff) | |
download | frameworks_base-49478536b6b8b28f33398393bed5e939085af7af.zip frameworks_base-49478536b6b8b28f33398393bed5e939085af7af.tar.gz frameworks_base-49478536b6b8b28f33398393bed5e939085af7af.tar.bz2 |
am 14bc6b5d: am 09340a4b: Merge "Replace epoll() with poll() and rename PollLoop to Looper." into gingerbread
Merge commit '14bc6b5d0677e5c454a67775c852f90389bb4567'
* commit '14bc6b5d0677e5c454a67775c852f90389bb4567':
Replace epoll() with poll() and rename PollLoop to Looper.
Diffstat (limited to 'include/android_runtime')
-rw-r--r-- | include/android_runtime/android_app_NativeActivity.h | 5 |
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; |