]> git.zerfleddert.de Git - FreeShisen/commitdiff
fix possible nullpointerexception on startup
authorgitknilch <gitknilch@cwde.de>
Sun, 24 Mar 2013 21:03:51 +0000 (22:03 +0100)
committergitknilch <gitknilch@cwde.de>
Sun, 24 Mar 2013 21:03:51 +0000 (22:03 +0100)
Change-Id: Id405a61584ae269408469c4b14fb5020b14c8030
Signed-off-by: gitknilch <gitknilch@cwde.de>
AndroidManifest.xml
src/de/cwde/freeshisen/ShisenSho.java

index 38ab4759b52d3b5c8b79b6a1c6f86062e7f0469c..cecb5ff3d5bc34f5d53403b1423bdb4a172b232d 100644 (file)
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="de.cwde.freeshisen"
-    android:versionCode="3"
-    android:versionName="0.1" >
+    android:versionCode="4"
+    android:versionName="0.2" >
 
     <uses-sdk
         android:minSdkVersion="5"
index f4ee58e702e70b5b975d1d6c63aa7104058697f6..d926ff9ed07e4df90fd62b05a862c1f5b851b8bb 100644 (file)
@@ -101,7 +101,7 @@ public class ShisenSho extends Application {
                        needsReset = true;
                }
 
-               if (timeCounter != this.timeCounter) {
+               if ((timeCounter != this.timeCounter) && (view != null)) {
                        this.timeCounter = timeCounter;
                        view.onTimeCounterActivate();
                }
Impressum, Datenschutz