diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-09-07 15:28:30 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-09-07 15:46:55 -0700 |
commit | 42c03e579aade011b451e2a13ea3f44a2ef0056a (patch) | |
tree | 1716fbd88e2beb816d303c3d3fa0ca1785b8db61 /include/android_runtime/android_app_NativeActivity.h | |
parent | 6e86915e8f5dfffa60ae5d1a4ca9aa74912fd026 (diff) |
Modify native ALooper to take an explicit ident.
The ALooper API now uses an explicit "identifier" for the integer
that is returned rather than implicitly using the fd. This allows
the APIs that had the fd to be a little more sane.
Change-Id: I8507f535ad484c0bdc4a1bd016d87bb09acd7ff0
Diffstat (limited to 'include/android_runtime/android_app_NativeActivity.h')
-rw-r--r-- | include/android_runtime/android_app_NativeActivity.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/android_runtime/android_app_NativeActivity.h b/include/android_runtime/android_app_NativeActivity.h index c388ba80a3bc..fdceb84836a4 100644 --- a/include/android_runtime/android_app_NativeActivity.h +++ b/include/android_runtime/android_app_NativeActivity.h @@ -69,7 +69,7 @@ public: /* Destroys the consumer and releases its input channel. */ ~AInputQueue(); - void attachLooper(ALooper* looper, ALooper_callbackFunc* callback, void* data); + void attachLooper(ALooper* looper, int ident, ALooper_callbackFunc* callback, void* data); void detachLooper(); |