Set last backup time before running

Tasks is DoSing somebody with low memory. May need to use GSON streaming
APIs
pull/795/head
Alex Baker 5 years ago
parent 621ccf561a
commit 0749c8aaea

@ -71,8 +71,8 @@ public class BackupWork extends RepeatingWorker {
@Override
protected Result run() {
startBackup(context);
preferences.setLong(R.string.p_last_backup, now());
startBackup(context);
return Result.success();
}

Loading…
Cancel
Save