From 7add86c751f890f8c42754c051eda53782e07031 Mon Sep 17 00:00:00 2001 From: folecr Date: Thu, 28 Mar 2013 16:39:44 -0700 Subject: [PATCH] ccx : Trace accelerometer only when tracing rendering --- cocos2dx/platform/android/jni/nativeactivity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2dx/platform/android/jni/nativeactivity.cpp b/cocos2dx/platform/android/jni/nativeactivity.cpp index bbc3eece24..fa79979ac6 100644 --- a/cocos2dx/platform/android/jni/nativeactivity.cpp +++ b/cocos2dx/platform/android/jni/nativeactivity.cpp @@ -282,7 +282,7 @@ void android_main(struct android_app* state) { ASensorEvent event; while (ASensorEventQueue_getEvents(engine.sensorEventQueue, &event, 1) > 0) { - LOGI("accelerometer: x=%f y=%f z=%f", + LOG_RENDER_DEBUG("accelerometer: x=%f y=%f z=%f", event.acceleration.x, event.acceleration.y, event.acceleration.z); }