private void checkOutdatedMovieDetails(Cursor cursor){
  if (hasIssuedOutdatedRefresh)   return;
  cursor.moveToFirst();
  long lastUpdated=cursor.getLong(MovieDetailsQuery.UPDATED);
  if (System.currentTimeMillis() > lastUpdated + Settings.DB_UPDATE_INTERVAL) {
    hasIssuedOutdatedRefresh=true;
    startSync(true);
  }
}

private void checkOutdatedMovieDetails ( Cursor cursor ) { if ( hasIssuedOutdatedRefresh ) return ; cursor . moveToFirst ( ) ; long lastUpdated = cursor . getLong ( MovieDetailsQuery . UPDATED ) ; if ( System . currentTimeMillis ( ) > lastUpdated + Settings . DB_UPDATE_INTERVAL ) { hasIssuedOutdatedRefresh = true ; startSync ( true ) ; } }
checks wether we should refresh the movie details with the info on xbmc the details will be updated if the last update is older than what is configured in the settings
