Parent Directory | Revision Log | Patch
revision 722 by torben, Mon May 10 19:55:13 2010 UTC | revision 723 by torben, Mon May 10 22:10:10 2010 UTC | |
---|---|---|
# | Line 44 public class CheckUpdates { | Line 44 public class CheckUpdates { |
44 | ||
45 | long now = System.currentTimeMillis(); //should i use android.os.SystemClock.elapsedRealtime() instead ? | long now = System.currentTimeMillis(); //should i use android.os.SystemClock.elapsedRealtime() instead ? |
46 | ||
47 | if ( (now+TIMESPAN_DAY) > lastCheck ){ | if ( now > (lastCheck+TIMESPAN_DAY) ){ |
48 | ||
49 | PackageManager pm = context.getPackageManager(); | PackageManager pm = context.getPackageManager(); |
50 | try { | try { |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |