diff options
author | Michael Wright <michaelwr@google.com> | 2014-02-10 15:10:22 -0800 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2014-02-11 10:47:14 -0800 |
commit | d02c5b6aace05d9fd938e2d03705ac4f60f8da19 (patch) | |
tree | 53f68645e8bba733cc89ecdcaf3dcb4607cb1257 /include/powermanager | |
parent | 1b1fe314c4e74ef85afe4dacd7ba1e87e6862aa3 (diff) | |
download | frameworks_native-d02c5b6aace05d9fd938e2d03705ac4f60f8da19.tar.gz frameworks_native-d02c5b6aace05d9fd938e2d03705ac4f60f8da19.tar.bz2 frameworks_native-d02c5b6aace05d9fd938e2d03705ac4f60f8da19.zip |
Move inputservice over to frameworks/native
Add all of the underlying input system pieces, minux PointerController and
SpriteController, to inputflinger. This is in preparation for moving input to
its own process and the addition of the input HAL.
Try 2.
Change-Id: I5f571fe86eb570885ae994e1f0552fb558930346
Diffstat (limited to 'include/powermanager')
-rw-r--r-- | include/powermanager/PowerManager.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/powermanager/PowerManager.h b/include/powermanager/PowerManager.h index 45901747e..cbddc1153 100644 --- a/include/powermanager/PowerManager.h +++ b/include/powermanager/PowerManager.h @@ -24,6 +24,14 @@ enum { POWERMANAGER_PARTIAL_WAKE_LOCK = 1, // equals PowerManager.PARTIAL_WAKE_LOCK constant }; +enum { + USER_ACTIVITY_EVENT_OTHER = 0, + USER_ACTIVITY_EVENT_BUTTON = 1, + USER_ACTIVITY_EVENT_TOUCH = 2, + + USER_ACTIVITY_EVENT_LAST = USER_ACTIVITY_EVENT_TOUCH, // Last valid event code. +}; + }; // namespace android #endif // ANDROID_POWERMANAGER_H |