Streamlined background worker (#804)
* New feature: key retrieval on risk level refresh * refresh the last time diagnosis keys fetched after transaction call * TimerHelper update added * Constants tests * Formatting * Fix activity screen orientation. This solution was proposed by open source contributor: ironjan * Free space threshold change to 15 Mb * Updated test * New streamlined background work implementation * Removed constraints for periodic worker Removed key retrieval time calculator * Added background helper and constants tests Co-authored-by:Alexander Alferov <a.alferov@sap.com> Co-authored-by:
Philipp Woessner <philipp.woessner@sap.com>
Showing
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/worker/BackgroundConstants.kt 8 additions, 33 deletions...n/java/de/rki/coronawarnapp/worker/BackgroundConstants.kt
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/worker/BackgroundWorkHelper.kt 0 additions, 10 deletions.../java/de/rki/coronawarnapp/worker/BackgroundWorkHelper.kt
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/worker/BackgroundWorkScheduler.kt 8 additions, 17 deletions...va/de/rki/coronawarnapp/worker/BackgroundWorkScheduler.kt
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/worker/DiagnosisKeyRetrievalOneTimeWorker.kt 6 additions, 6 deletions...oronawarnapp/worker/DiagnosisKeyRetrievalOneTimeWorker.kt
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/worker/DiagnosisKeyRetrievalPeriodicWorker.kt 5 additions, 6 deletions...ronawarnapp/worker/DiagnosisKeyRetrievalPeriodicWorker.kt
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/worker/DiagnosisKeyRetrievalTimeCalculator.kt 0 additions, 92 deletions...ronawarnapp/worker/DiagnosisKeyRetrievalTimeCalculator.kt
- Corona-Warn-App/src/test/java/de/rki/coronawarnapp/worker/BackgroundConstantsTest.kt 20 additions, 0 deletions...va/de/rki/coronawarnapp/worker/BackgroundConstantsTest.kt
- Corona-Warn-App/src/test/java/de/rki/coronawarnapp/worker/BackgroundWorkHelperTest.kt 28 additions, 0 deletions...a/de/rki/coronawarnapp/worker/BackgroundWorkHelperTest.kt
- Corona-Warn-App/src/test/java/de/rki/coronawarnapp/worker/DiagnosisKeyRetrievalTimeCalculatorTest.kt 0 additions, 68 deletions...warnapp/worker/DiagnosisKeyRetrievalTimeCalculatorTest.kt
Loading
Please register or sign in to comment