- Jan 05, 2021
-
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Philipp Nowak authored
Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
- Jan 04, 2021
-
-
Mohamed Metwalli authored
-
Philipp Nowak authored
Fix sorting of persons and places to be case insensitive for names (EXPOSUREAPP-4488)(closes #2012) (#2017) * Fix sorting of persons and places to be case insensitive for names and add some unit tests for both parts (#2012) * Address code review comments (EXPOSUREAPP-4488) (#2012) Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
Matthias Urhahn authored
* If maxExposureDetectionsPerDay is 0, return a saner value than 99 days. maxExposureDetectionsPerDay is checked separately and will abort the download task if necessary. * When checking whether the last detection was recent, add a sanity check that causes it to not skip, if the last detection was in our future. Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Matthias Urhahn authored
* Change primary key for risk result database to a monotonic ID. This prevents time travel from breaking "get latest" as we will get the latest by monotonic ID, instead of "calculatedAt". * We don't need `fallbackToDestructiveMigrationFrom(3)` until we actually upgrade the schema to 3. * Fix database test (missing monotonicId) * Catch exceptions during migrations and recreate the table. * Add check for result size after recreating+insertion. Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Chilja Gossow authored
* accessibility announcement renaming
-
- Dec 31, 2020
-
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
- Dec 30, 2020
-
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
- Dec 29, 2020
-
-
Mohamed Metwalli authored
Add View assertion to make sure Fragment is already displaying its views to avoid capturing blank screenshots
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Alex Paulescu authored
Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Dec 28, 2020
-
-
Matthias Urhahn authored
Co-authored-by:
Mohamed Metwalli <mohamed.metwalli@sap.com>
-
Matthias Urhahn authored
* Add state-aware illustrations for Settings>BackgroundModeStatus Refactor various background mode related functions into a common class that can be injected and observed. * Rename c to context * Use core-ktx extension to access system services * Fix wrong import statement and a typo * Add more test cases Co-authored-by:
Mohamed Metwalli <mohamed.metwalli@sap.com>
-
Matthias Urhahn authored
* Fix deadman notification text not being expandable and clean up code. * Further notification code cleanup. * Use core-ktx extension to access system services Co-authored-by:
Mohamed Metwalli <mohamed.metwalli@sap.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Matthias Urhahn authored
* Fix icon in settings when bluetooth is disabled. * Rename c to context Co-authored-by:
Mohamed Metwalli <mohamed.metwalli@sap.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Matthias Urhahn authored
* Fix failed tracing state having the wrong text color for "last update". * The tracing details box had no visible background in nightmode. * Fix "Restart" button visibility being reversed on the "Tracing failed" card. * Code fluff * Fix "Tracing in progress" switching the color, we need to use the latest, not the latestSuccessful risk state for coloring the progress state. Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Matthias Urhahn authored
Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Dec 23, 2020
-
-
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.
-
Matthias Urhahn authored
Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
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:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-