Update cocos2dx/platform/android/java/src/org/cocos2dx/lib/Cocos2dxAccelerometer.java

Comment some debug codes, because it will cause auto-building fail.
This commit is contained in:
minggo 2012-09-25 14:42:45 +08:00
parent df24c919a4
commit 364d7a487a
1 changed files with 2 additions and 0 deletions

View File

@ -108,9 +108,11 @@ public class Cocos2dxAccelerometer implements SensorEventListener {
} }
Cocos2dxAccelerometer.onSensorChanged(x, y, z, pSensorEvent.timestamp); Cocos2dxAccelerometer.onSensorChanged(x, y, z, pSensorEvent.timestamp);
/*
if(BuildConfig.DEBUG) { if(BuildConfig.DEBUG) {
Log.d(TAG, "x = " + pSensorEvent.values[0] + " y = " + pSensorEvent.values[1] + " z = " + pSensorEvent.values[2]); Log.d(TAG, "x = " + pSensorEvent.values[0] + " y = " + pSensorEvent.values[1] + " z = " + pSensorEvent.values[2]);
} }
*/
} }
@Override @Override