Skip to content

Commit

Permalink
7.0.7a: Introduced a bug earlier that prevented stats update thread from
Browse files Browse the repository at this point in the history
working.
  • Loading branch information
Guillaume authored and Guillaume committed May 10, 2016
1 parent a1af212 commit fb49d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nl/asymmetrics/droidshows/DroidShows.java
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ private class AsyncInfo extends AsyncTask<Void, Void, Void> {
@Override
protected Void doInBackground(Void... params) {
try {
String newToday = new SimpleDateFormat("yyyy-MM-dd").format(Calendar.getInstance()); // thread needs own SimpleDateFormat to prevent collisions in formatting of other dates
String newToday = new SimpleDateFormat("yyyy-MM-dd").format(Calendar.getInstance().getTime()); // thread needs own SimpleDateFormat to prevent collisions in formatting of other dates
if (!lastStatsUpdate.equals(newToday)) {
db.updateToday(newToday);
// Log.d(SQLiteStore.TAG, "AsyncInfo | Today = "+ newToday);
Expand Down

0 comments on commit fb49d70

Please sign in to comment.