Skip to content
Snippets Groups Projects
Unverified Commit b874f89c authored by Matthias Urhahn's avatar Matthias Urhahn Committed by GitHub
Browse files

Refactor worker scheduling (EXPOSUREAPP-6007) (#2960)


* Refactor EW&PT RiskWorker scheduling (WIP).
* PresenceTracingRiskWorkScheduler.kt and ExposureWindowRiskWorkScheduler.kt subscribe to different flows and make the decision of when to schedule the workers by themselves.

* Removed BackgroundWorkScheduler.kt

* Refactor RA&PCR test result polling scheduling (WIP)

* Add TODOs

* LINTs

* Add check for RA redeemed state after 60 days.

* Bandaid unittests

* Fix test regressions in CoronaTestStorageTest.kt

* Fix test regressions in RATestResultAvailableNotificationServiceTest.kt and PCRTestResultAvailableNotificationServiceTest.kt

* removed tests for code that was moved

* Implement failing test processor tests.

* LINTs

* updated pcr worker test

* Tweak logging.

* unit tests for pcr scheduler

* 'fixed' ktlint

Co-authored-by: default avatarchris-cwa <69595386+chris-cwa@users.noreply.github.com>
Co-authored-by: default avatarchris-cwa <chris.cwa.sap@gmail.com>
parent 6fed02a7
No related branches found
Tags v2.1.0-RC5
No related merge requests found
Showing
with 628 additions and 82 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment