mirror of https://github.com/axmolengine/axmol.git
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:
parent
df24c919a4
commit
364d7a487a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue