summaryrefslogtreecommitdiff
path: root/include/powermanager/PowerManager.h
diff options
context:
space:
mode:
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
commitd02c5b6aace05d9fd938e2d03705ac4f60f8da19 (patch)
tree53f68645e8bba733cc89ecdcaf3dcb4607cb1257 /include/powermanager/PowerManager.h
parent1b1fe314c4e74ef85afe4dacd7ba1e87e6862aa3 (diff)
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/PowerManager.h')
-rw-r--r--include/powermanager/PowerManager.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/powermanager/PowerManager.h b/include/powermanager/PowerManager.h
index 45901747e8..cbddc11536 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