Skip to content

Commit

Permalink
add worker started history entry for CrowdNotifierKeyLoadWorker
Browse files Browse the repository at this point in the history
  • Loading branch information
simonroesch committed Mar 19, 2022
1 parent 6288432 commit 766aa22
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public CrowdNotifierKeyLoadWorker(@NonNull Context context, @NonNull WorkerParam
@Override
public Result doWork() {
Log.d(LOG_TAG, "Started KeyLoadWorker");
DP3T.addWorkerStartedToHistory(getApplicationContext(), "key load worker");
if (DP3T.getStatus(getApplicationContext()).getInfectionStatus() == INFECTED) {
Log.d(LOG_TAG, "KeyLoadWorker: Network Request not executed");
return Result.success();
Expand Down

0 comments on commit 766aa22

Please sign in to comment.