diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-03-07 20:11:22 -0800 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2011-03-07 20:14:09 -0800 |
commit | 9267beb8689e6febe3dd23f2a3025736c50eef01 (patch) | |
tree | 698b7233dcdf0778a405c11b9c191ccd43899ecf /services/jni | |
parent | 823f5bf3db8b2f588ae917aaff5d27a65c87f132 (diff) | |
download | frameworks_base-9267beb8689e6febe3dd23f2a3025736c50eef01.zip frameworks_base-9267beb8689e6febe3dd23f2a3025736c50eef01.tar.gz frameworks_base-9267beb8689e6febe3dd23f2a3025736c50eef01.tar.bz2 |
Eliminate some accidental log spam.
Used #ifdef where I should have used #if.
Change-Id: I4cc84484dd508b0ec1a01858d8bd62ec92f23de1
Diffstat (limited to 'services/jni')
-rw-r--r-- | services/jni/com_android_server_InputManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/services/jni/com_android_server_InputManager.cpp b/services/jni/com_android_server_InputManager.cpp index 3be3b1b..bd4e787 100644 --- a/services/jni/com_android_server_InputManager.cpp +++ b/services/jni/com_android_server_InputManager.cpp @@ -727,14 +727,14 @@ void NativeInputManager::handleInterceptActions(jint wmActions, nsecs_t when, }; if (wmActions & WM_ACTION_GO_TO_SLEEP) { -#ifdef DEBUG_INPUT_DISPATCHER_POLICY +#if DEBUG_INPUT_DISPATCHER_POLICY LOGD("handleInterceptActions: Going to sleep."); #endif android_server_PowerManagerService_goToSleep(when); } if (wmActions & WM_ACTION_POKE_USER_ACTIVITY) { -#ifdef DEBUG_INPUT_DISPATCHER_POLICY +#if DEBUG_INPUT_DISPATCHER_POLICY LOGD("handleInterceptActions: Poking user activity."); #endif android_server_PowerManagerService_userActivity(when, POWER_MANAGER_BUTTON_EVENT); @@ -743,7 +743,7 @@ void NativeInputManager::handleInterceptActions(jint wmActions, nsecs_t when, if (wmActions & WM_ACTION_PASS_TO_USER) { policyFlags |= POLICY_FLAG_PASS_TO_USER; } else { -#ifdef DEBUG_INPUT_DISPATCHER_POLICY +#if DEBUG_INPUT_DISPATCHER_POLICY LOGD("handleInterceptActions: Not passing key to user."); #endif } |