diff options
| author | 2010-09-07 16:32:48 -0700 | |
|---|---|---|
| committer | 2010-09-07 16:32:48 -0700 | |
| commit | 2d3739d479d67ba736cefbdd6087a11eadfb14ea (patch) | |
| tree | 8a619192718532f7cf82da678fd01d74774cff48 /native/android/looper.cpp | |
| parent | 254293782a94652fd601d6b3f04ad447c072f714 (diff) | |
| parent | 42c03e579aade011b451e2a13ea3f44a2ef0056a (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.cpp | 4 |
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) { |