/[projects]/android/CheckUpdates/src/dk/thoerup/checkupdates/CheckUpdates.java
ViewVC logotype

Diff of /android/CheckUpdates/src/dk/thoerup/checkupdates/CheckUpdates.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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 {

Legend:
Removed from v.722  
changed lines
  Added in v.723

  ViewVC Help
Powered by ViewVC 1.1.20