From 364d7a487a7d1f0602aaa4573b7b55b79b8403c2 Mon Sep 17 00:00:00 2001 From: minggo Date: Tue, 25 Sep 2012 14:42:45 +0800 Subject: [PATCH] Update cocos2dx/platform/android/java/src/org/cocos2dx/lib/Cocos2dxAccelerometer.java Comment some debug codes, because it will cause auto-building fail. --- .../java/src/org/cocos2dx/lib/Cocos2dxAccelerometer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cocos2dx/platform/android/java/src/org/cocos2dx/lib/Cocos2dxAccelerometer.java b/cocos2dx/platform/android/java/src/org/cocos2dx/lib/Cocos2dxAccelerometer.java index c89439b0af..668675965a 100644 --- a/cocos2dx/platform/android/java/src/org/cocos2dx/lib/Cocos2dxAccelerometer.java +++ b/cocos2dx/platform/android/java/src/org/cocos2dx/lib/Cocos2dxAccelerometer.java @@ -108,9 +108,11 @@ public class Cocos2dxAccelerometer implements SensorEventListener { } Cocos2dxAccelerometer.onSensorChanged(x, y, z, pSensorEvent.timestamp); + /* if(BuildConfig.DEBUG) { Log.d(TAG, "x = " + pSensorEvent.values[0] + " y = " + pSensorEvent.values[1] + " z = " + pSensorEvent.values[2]); } + */ } @Override