Skip to content
Snippets Groups Projects
  1. Dec 23, 2020
    • Matthias Urhahn's avatar
      Improve risklevel result data access performance (DEV) #1953 · 665b6f21
      Matthias Urhahn authored
      
      * Don't log all exposure windows on `RiskLevelTaskResult.toString()` due to performance impact when logging.
      
      * Add RiskLevelResult flow optimized for just getting the latest two results.
      
      * Share risk level result subscriptions.
      The delay when switching from Home to RiskDetails fragment will be bridged and no re-loading necessary.
      
      * Fix test regressions
      
      * Remove test code.
      
      * Introduce specific query for "latestAndLastSuccessful".
      Add unit tests for SQL queries.
      
      * Fix test regressions due to missing mocking.
      
      * Address merge conflicts.
      
      * Fix instrumentation tests not building.
      
      Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
      665b6f21
  2. Dec 07, 2020
    • chris-cwa's avatar
      Fixed: fields without values are visible (EXPOSUREAPP-3988) (#1808) · 20baacc9
      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: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      20baacc9
  3. Nov 25, 2020
    • Alex Paulescu's avatar
      Removed traces of grey risk card (EXPOSUREAPP-3051) (#1699) · 86b29f73
      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: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
    • Matthias Urhahn's avatar
      Persist ExposureWindow based risk level calculation results and update the UI... · 2547e10a
      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: default avatarchris-cwa <chris.cwa.sap@gmail.com>
      2547e10a
  4. Nov 24, 2020
Loading