project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/SDLActivity.java
--- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/SDLActivity.java Sun Aug 21 22:17:40 2011 +0200
+++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/SDLActivity.java Sun Aug 21 22:18:54 2011 +0200
@@ -329,14 +329,14 @@
// Called when we have a valid drawing surface
public void surfaceCreated(SurfaceHolder holder) {
- // Log.v("SDL", "surfaceCreated()");
+ Log.v("SDL", "surfaceCreated()");
- enableSensor(Sensor.TYPE_ACCELEROMETER, true);
+ //enableSensor(Sensor.TYPE_ACCELEROMETER, true);
}
// Called when we lose the surface
public void surfaceDestroyed(SurfaceHolder holder) {
- // Log.v("SDL", "surfaceDestroyed()");
+ Log.v("SDL", "surfaceDestroyed()");
// Send a quit message to the application
SDLActivity.nativeQuit();
@@ -353,7 +353,7 @@
// Log.v("SDL", "Finished waiting for SDL thread");
}
- enableSensor(Sensor.TYPE_ACCELEROMETER, false);
+ //enableSensor(Sensor.TYPE_ACCELEROMETER, false);
}
// Called when the surface is resized