- Nov 26, 2020
-
-
Kolya Opahle authored
* Converted ExposureWindows to their json wrapper counterparts before exporting to give the json fields proper names instead of the obfuscated enf ones Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added timestamp to exposure window export * Switched to a more file name compatible DateTimeFormat Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * ktlint says these are redundant, i don't like it but the overlords forced me to do it. Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * changed filename suffix to json Co-authored-by:
BMItter <berndus@gmx.de>
-
Matthias Urhahn authored
* Update to latest stable coroutines. * Fix flaky test. Depending how how fast items emitted, some intermediate values might never be emitted.
-
- 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>
-
Katharina Seiz authored
-
Ralf Gehrer authored
* [INTERNAL] Translation delivery: commit by LX Lab Change-Id: I87af5066f13b8b4ca0c120cc19f5b48e0f2f05b5 * Update default translations Co-authored-by:
service-tip-git <tmsatsls+github.com_service-tip-git@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Kolya Opahle authored
Risk Calculation does not work because DiagnosisKeysDataMapping is not applied (EXPOSUREAPP-3895) (#1690) * We now check for the DiagnosisKeyDataMapping and apply it to the ENFClient if changed Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Moved diagnosisKeysDataMapping to windowProvider Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Renaming and linting Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Moved app config fetch to key provide task, added error handling, added logging to config replace Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed old unit tests and implemented tests for config comparison, TestForAPIFragment is currently broken Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Linting * Added more unit testing for DefaultDiagnosisKeysDataMapper and fixed TestForAPIFragment Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Update default app config to latest version This includes a change for the default for reportTypeWhenMissing from 0 to 1, as 0 is not accepted by setDiagnosisKeysDataMapping. https://github.com/corona-warn-app/cwa-app-tech-spec/pull/10/commits/090801921f4a8581543a9f716fd0572c12901c71 https://github.com/corona-warn-app/cwa-protocol-buffers/commit/38a641e2a808c41d225e9fd09d27ec7959551412 * Fixed Unittests Co-authored-by:
Maximilian Lenkeit <maximilian.lenkeit@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Matthias Urhahn authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Matthias Urhahn authored
* Check whether the local config file exists before parsing it. * Force types deserialized via Gson to be non-null. Perform sanity checks and empty file deletion directly when trying to load the json file. * Check that empty json file is deleted. * LINTs * Test parsing exception. Co-authored-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Kolya Opahle authored
Screen: Andere warnen --> Button Einverstanden greyed out (EXPOSUREAPP-3770)
-
Kolya Opahle authored
-
Matthias Urhahn authored
* Make use of `hasAppFeatures` to prevent accidental use of default values. * Swap order in if statement to remove unnecessary negation * Reduce visibility Co-authored-by:
ralfgehrer <mail@ralfgehrer.com> Co-authored-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Kolya Opahle authored
-
Matthias Urhahn authored
* Don't launch a blocking operation in `init`. * Switch to IO dispatcher. * Return to previous name. Co-authored-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Kolya Opahle authored
-
BMItter authored
* preparation share exposureWindows via email etc. - wip * Exposure Windows can be shared if data is availabe * Manifest and provider path deviceForTesters only * fixed strange conflicts * klint * Pretty exposure window export * removed testlog * removed relicts
-
Ralf Gehrer authored
-
Matthias Urhahn authored
* Improve TaskController.kt logging * Cap TaskController's state history to 50 entries. * Determine oldest tasks to prune based on `finishedAt` instead of `startedAt` Co-authored-by:
Kolya Opahle <k.opahle@sap.com>
-
Kolya Opahle authored
-
Matthias Urhahn authored
If the http error request fails without status code, log the cause.
-
Matthias Urhahn authored
callbackflow wasn't a good fit and this should be a simpler solution. May fix some class cast exception on MediaTek chipsets. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Matthias Urhahn authored
* Log current build and verison information. * Print formatted date instead of EPOCH millis. * Use correct instant (joda time). Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Ralf Gehrer authored
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>
-
harambasicluka authored
-
- Nov 24, 2020
-
-
Matthias Urhahn authored
Test feature to fake high/low risk encounters via exposure windows (DEV)
-
Matthias Urhahn authored
-
BMItter authored
* Added isAtLeast to ENFVersion * Use provideDiagnosisKeys with DiagnosisKeyFileProvider on supported version * better Version of DefaultENFVersion * Added tests for DefaultENFVersion * added missing onSuccessListener * Adjusted tests for new methods
-
Kolya Opahle authored
-
Matthias Urhahn authored
-
Matthias Urhahn authored
-
Matthias Urhahn authored
-
janetback authored
-
- Nov 23, 2020
-
-
janetback authored
* Update strings.xml * Update strings.xml Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Matthias Urhahn authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
chris-cwa authored
ignore negative secondsSinceLastScan
-
- Nov 20, 2020
-
-
BMItter authored
Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
Matthias Urhahn authored
Merge 1.7.x into 1.8.x (DEV)
-
Matthias Urhahn authored
-
Matthias Urhahn authored
# Conflicts: # Corona-Warn-App/src/main/java/de/rki/coronawarnapp/nearby/modules/detectiontracker/DefaultExposureDetectionTracker.kt # Corona-Warn-App/src/main/java/de/rki/coronawarnapp/nearby/modules/detectiontracker/ExposureDetectionTracker.kt