Merge branch 'master' of ssh://cahost.average.org/~/WhereAmI
authorEugene Crosser <crosser@average.org>
Wed, 1 Feb 2012 20:17:32 +0000 (00:17 +0400)
committerEugene Crosser <crosser@average.org>
Wed, 1 Feb 2012 20:17:32 +0000 (00:17 +0400)
src/org/average/whereami/WhereAmI.java

index 16d11256c67ed5ca549eb9afdf3b772b0f27caea..2fed78cbbada79d093932cee1959f7943ea85fa0 100644 (file)
@@ -145,8 +145,8 @@ public class WhereAmI extends Activity
                     ut[i].launch();
                 }
             }
-            mHandler.postDelayed(resetInfo, updatedelay);
-            mHandler.postDelayed(this, 60000);
+            mHandler.postDelayed(resetInfo, 50000);
+            mHandler.postDelayed(this, updatedelay);
         }
     };
 
@@ -227,6 +227,9 @@ public class WhereAmI extends Activity
         boolean fullscreen = prefs.getBoolean("fullscreen", false);
         managewifi = prefs.getBoolean("managewifi", false);
         updatedelay = Long.parseLong(prefs.getString("updateperiod", "1200000"));
+        Log.w("WhereAmI", "fullscreen: " + fullscreen +
+                          ", managewifi: " + managewifi +
+                          ", updatedelay: " + updatedelay);
         if (fullscreen) {
             getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
             getWindow().clearFlags(WindowManager.LayoutParams.