Fix for bug #1776 by Jonathan Dearborn
authorGabriel Jacobo <gabomdq@gmail.com>
Fri, 19 Apr 2013 14:40:39 -0300
changeset 7079 99d6803195fe
parent 7078 a2bddc1fb02f
child 7080 7353267a2ce2
Fix for bug #1776 by Jonathan Dearborn
android-project/src/org/libsdl/app/SDLActivity.java
--- a/android-project/src/org/libsdl/app/SDLActivity.java	Fri Apr 19 13:25:39 2013 -0300
+++ b/android-project/src/org/libsdl/app/SDLActivity.java	Fri Apr 19 14:40:39 2013 -0300
@@ -32,7 +32,7 @@
 public class SDLActivity extends Activity {
 
     // Keep track of the paused state
-    public static boolean mIsPaused;
+    public static boolean mIsPaused = false;
 
     // Main components
     private static SDLActivity mSingleton;
@@ -71,9 +71,6 @@
         // So we can call stuff from static callbacks
         mSingleton = this;
 
-        // Keep track of the paused state
-        mIsPaused = false;
-
         // Set up the surface
         mSurface = new SDLSurface(getApplication());