Parent Directory | Revision Log | Patch
revision 1548 by torben, Thu Jul 7 19:44:01 2011 UTC | revision 1549 by torben, Thu Jul 7 20:39:26 2011 UTC | |
---|---|---|
# | Line 97 public class WelcomeScreen extends Activ | Line 97 public class WelcomeScreen extends Activ |
97 | long last = prefs.getLong(stationsreload, 0); | long last = prefs.getLong(stationsreload, 0); |
98 | long now = System.currentTimeMillis(); | long now = System.currentTimeMillis(); |
99 | ||
100 | Log.i("TrainInfo", "Last Load: " + last); | |
101 | ||
102 | if ( (now-last) > (14*24*60*60*1000) ) { | if ( (now-last) > (14*24*60*60*1000) ) { |
103 | new StationLoader(osp).execute( (Void)null); | new StationLoader(osp).execute( (Void)null); |
104 | } else { | } else { |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |