Skip to content
Snippets Groups Projects
  1. Jan 04, 2021
  2. Dec 31, 2020
  3. Dec 30, 2020
  4. Dec 29, 2020
  5. Dec 28, 2020
  6. Dec 23, 2020
    • Matthias Urhahn's avatar
      Check device time (EXPOSUREAPP-2998) (#1985) · 6e7d89e2
      Matthias Urhahn authored
      * Let the AppConfig validity check use absolute values, to support device time check behavior.
      
      * Add mapping for "disable-device-time-check" to app config.
      
      * Show popup dialog if the device time is invalid.
      * Remove extra retrofit cache (use only LocalAppConfigSource.kt)
      * Exposure device time check
      * Reset user acknowledgement
      
      * LINTs
      
      * Add test menu option to disable device time check via affecting the config mapping.
      
      * Download, but don't submit keys if device time is incorrect.
      Abort risk level calculation if time is incorrect.
      
      * Due to multiple properties in ConfigData affecting `isDeviceTimeCorrect`, make it a body property and don't allow overriding via constructor.
      
      * Add unit test for test settings affecting the device config only in tester builds.
      
      * Show notification regarding incorrect time when device is in the background.
      
      * Fix test regressions and add additional test cases for download and risk task abort conditions on incorrect device time.
      
      * Fix merge regressions.
      
      * Add time unit to log statement.
      
      * Fix incorrect time dialog showing in a loop when entering leaving the home screen.
      
      * Remove unused code path for clear().
      
      * Print additional timestamps to help debugging efforts in the future.
      Unverified
      6e7d89e2
    • Matthias Urhahn's avatar
    • 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>
      Unverified
      665b6f21
Loading