summaryrefslogtreecommitdiff
path: root/native/android/looper.cpp
diff options
context:
space:
mode:
author Dianne Hackborn <hackbod@google.com> 2010-09-07 16:32:48 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2010-09-07 16:32:48 -0700
commit2d3739d479d67ba736cefbdd6087a11eadfb14ea (patch)
tree8a619192718532f7cf82da678fd01d74774cff48 /native/android/looper.cpp
parent254293782a94652fd601d6b3f04ad447c072f714 (diff)
parent42c03e579aade011b451e2a13ea3f44a2ef0056a (diff)
Merge "Modify native ALooper to take an explicit ident." into gingerbread
Diffstat (limited to 'native/android/looper.cpp')
-rw-r--r--native/android/looper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/native/android/looper.cpp b/native/android/looper.cpp
index 1564c477d29e..0aeed7776efe 100644
--- a/native/android/looper.cpp
+++ b/native/android/looper.cpp
@@ -72,9 +72,9 @@ void ALooper_release(ALooper* looper) {
static_cast<PollLoop*>(looper)->decStrong((void*)ALooper_acquire);
}
-void ALooper_addFd(ALooper* looper, int fd, int events,
+void ALooper_addFd(ALooper* looper, int fd, int ident, int events,
ALooper_callbackFunc* callback, void* data) {
- static_cast<PollLoop*>(looper)->setLooperCallback(fd, events, callback, data);
+ static_cast<PollLoop*>(looper)->setLooperCallback(fd, ident, events, callback, data);
}
int32_t ALooper_removeFd(ALooper* looper, int fd) {