From b696de5c10ebcc7bf42d8487fc0e56e0e937754d Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Fri, 27 Jul 2012 15:38:50 -0700 Subject: Move and rename user activity event type constants. Change-Id: Ie565808796773b6896e71ddfac6aaaf8031de846 --- include/androidfw/PowerManager.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/androidfw/PowerManager.h b/include/androidfw/PowerManager.h index 59e993a..ba98db0 100644 --- a/include/androidfw/PowerManager.h +++ b/include/androidfw/PowerManager.h @@ -21,11 +21,11 @@ namespace android { enum { - POWER_MANAGER_OTHER_EVENT = 0, - POWER_MANAGER_BUTTON_EVENT = 1, - POWER_MANAGER_TOUCH_EVENT = 2, + USER_ACTIVITY_EVENT_OTHER = 0, + USER_ACTIVITY_EVENT_BUTTON = 1, + USER_ACTIVITY_EVENT_TOUCH = 2, - POWER_MANAGER_LAST_EVENT = POWER_MANAGER_TOUCH_EVENT, // Last valid event code. + USER_ACTIVITY_EVENT_LAST = USER_ACTIVITY_EVENT_TOUCH, // Last valid event code. }; } // namespace android -- cgit v1.1