diff options
author | Jeff Brown <jeffbrown@google.com> | 2010-10-10 12:52:40 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-10-10 12:52:40 -0700 |
commit | d5da367024c36b317b101fc066a7a4cf992c7d58 (patch) | |
tree | 87cf98a6514557be5427c462349a0ee9deb9a9dd /native | |
parent | bcf74accafcdac6c7a940ce28982fc0ef08e111b (diff) | |
parent | 22cb4ef8ce9c4d5536ac5cee5c40b82bfa56ccc5 (diff) | |
download | frameworks_base-d5da367024c36b317b101fc066a7a4cf992c7d58.zip frameworks_base-d5da367024c36b317b101fc066a7a4cf992c7d58.tar.gz frameworks_base-d5da367024c36b317b101fc066a7a4cf992c7d58.tar.bz2 |
am 22cb4ef8: am d577cfd7: Merge "Switch Looper back to using poll() instead of epoll()." into gingerbread
Merge commit '22cb4ef8ce9c4d5536ac5cee5c40b82bfa56ccc5'
* commit '22cb4ef8ce9c4d5536ac5cee5c40b82bfa56ccc5':
Switch Looper back to using poll() instead of epoll().
Diffstat (limited to 'native')
-rw-r--r-- | native/include/android/looper.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/native/include/android/looper.h b/native/include/android/looper.h index a63b744..a9d8426 100644 --- a/native/include/android/looper.h +++ b/native/include/android/looper.h @@ -135,6 +135,15 @@ enum { * to specify this event flag in the requested event set. */ ALOOPER_EVENT_HANGUP = 1 << 3, + + /** + * The file descriptor is invalid. + * For example, the file descriptor was closed prematurely. + * + * The looper always sends notifications about invalid file descriptors; it is not necessary + * to specify this event flag in the requested event set. + */ + ALOOPER_EVENT_INVALID = 1 << 4, }; /** |