- Dec 07, 2020
-
-
chris-cwa authored
* fixed: fields without values are visible; + logs * detect version update, force recalc on 1.7 -> 1.8 * detect version update in diagnosis keys task only * no connection type ignoring * Add test to ensure that parsing old configs from 1.7.x fails and the default fallback for 1.8.x is used. * Fix logging typo. * no wasLastDetectionPerformedRecently abort on app update * Fix lint issues * fixed condition * used shared settings * get last encounter at from enf v1 to display second line after app update while risk level calc is not finished * fixed di * fixed tests * fixed tests * fixed tests * Add unit tests for DownloadDiagnosisKeysTask.kt * fixed tests * Add tests for DownloadDiagnosisKeysSettingsTest Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
- Nov 25, 2020
-
-
Alex Paulescu authored
* Removed traces of grey risk card. * Removed UNKNOWN_RISK_INITIAL constant. * Removed unused method. * Removed old comments. * Introduce risklevel calculation failure state to get consistent card states. * Cleaned up the risk card states. Refactored "RiskLevel" to be calculated based on either result or failure reasons. Added the new "no internet" error card. * Updated color states. * Fixed card color issues. * Fixed detekt issues. * Remove test for deleted file. * Fix test regressions. * Fixed tests and LINTs. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
Matthias Urhahn authored
Persist ExposureWindow based risk level calculation results and update the UI (EXPOSUREAPP-3910,EXPOSUREAPP-3855) (#1705) * First draft to refactor `RiskRepository` away and persist risk level results produced by ExposureWindow calculations. TODO: Tests, Legacy data migration, Persist ExposureWindow's in tester builds. * Unit tests for refactored classes. * LINTs * First draft for legacy risk data migration. TODO: Tests. * Store exposure windows on device for tester builds and perform clean on them too after risk result deletions. Split RiskResultStorage such that the exposure window storage code is only available in deviceForTesters flavor builds. * simplification * no preference should return no value * Remove TODOs, singletons are refactored away ;) * Simplify RiskLevelTask interface * Split risk level storage implementations to let production (device flavor) have a NOOP for storing/deleting exposure windows. * Remove unused storage function. Add test skeletons. * unit test * unit test * Update risk card to show new window mode based information. * Fix test regressions. * Address PR comments. * LINTs * Everybody get's LINT for XMAS. * Finish unit tests and remove unused classes. Co-authored-by:
chris-cwa <chris.cwa.sap@gmail.com>
-
- Nov 24, 2020
-
-
Matthias Urhahn authored
-