- Feb 15, 2021
-
-
Kolya Opahle authored
* initial commit of Analytics upload code (lots of missing pieces) kind of working: Definition of backends and endpoints, donor data collection (no donors implemented here) probably broken: SafetyNet attestation, actual server communication Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * added checks for analytics submission abortion Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * added analytics submission periodic worker definition Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * lint fixes Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed kotlin support for IntoSet injection Added AnalyticsModule to DataDonationModule Added WorkerBinder definition for DataDonationAnalyticsPeriodicWorker Added DataDonationAnalyticsPeriodicWorker scheduling to CoronaWarnApplication Added missing mocks to WorkerBinderTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed injectData call in ExposureRiskMetadataDonor Added more logging to Analytics Implemented first AnalyticsTests Fixed auto formatted removal of io.kotest.matchers.collections.shouldContainAll in WorkerBinderTest (curse you Optimize imports) Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Implemented Test for ExposureRiskMetadataDonor Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added check for isEnabled during Analytics submission Added DataDonationAnalyticsOneTimeWorker to allow for random distribution of Analytics submission events Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Moved contribution collection to own function to help with test menu features Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added analytics testing features Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * small fixes to the WorkerBinderTest added missing worker binding to WorkerBinder Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Put Analytics test options into an extra card. * in my defense, it was quite late Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Moved AnalyticsSettings to own package Updated the @IntoSet providers in AnalyticsModule to match the actual DonorModules Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added analyticsEnabled preference to AnalyticsSettings Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added a deleteData function to the DonorModule interface which can be used to remove persisted data if a user revokes analytics consent Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added skeleton to persist last analytics submission on tester devices Currently the tester version also does not store the data Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed borked unit tests Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Implemented File based storage of Last submitted analytics file on tester devices Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added calls to enable and disable analytics to the OnboardingAnalyticsViewModel Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed OnboardingAnalyticsFragmentTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Turns out AnalyticsConfigMapping was not implemented yet, fixed that Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added a timestamp to the stored Analytics Submission Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed unit tests in AnalyticsTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Updated AnalyticsConfigMapper to throw an exception if app config is invalid Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Implemented most of the comments from @d4rken Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * if -> when magic Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Moved analytics enable/disable to the Analytics class to allow for deletion on disable Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Made the AnalyticsTest a bit more concise and improved the abort checks Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Changed Api provider to reusable Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Aligned DataDonationAnalyticsApiV1 response with Survery format Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Integration of the Analytics settings UI with the Analytics backend code Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added test for the analytics status Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed OnboardingAnalyticsFragmentTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Refactored the SettingsPrivacyPreservingAnalyticsFragment ui state handling Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Merge with ppa-main exploded this for some reason, fixed now Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added analytics deactivation if no config is present on remote Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed AnalyticsTest borked by merge Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed AnalyticsTest borked by merge Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Addressed some linting comments Signed-off-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
- Feb 12, 2021
-
-
Kolya Opahle authored
* initial commit of Analytics upload code (lots of missing pieces) kind of working: Definition of backends and endpoints, donor data collection (no donors implemented here) probably broken: SafetyNet attestation, actual server communication Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * added checks for analytics submission abortion Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * added analytics submission periodic worker definition Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * lint fixes Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed kotlin support for IntoSet injection Added AnalyticsModule to DataDonationModule Added WorkerBinder definition for DataDonationAnalyticsPeriodicWorker Added DataDonationAnalyticsPeriodicWorker scheduling to CoronaWarnApplication Added missing mocks to WorkerBinderTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed injectData call in ExposureRiskMetadataDonor Added more logging to Analytics Implemented first AnalyticsTests Fixed auto formatted removal of io.kotest.matchers.collections.shouldContainAll in WorkerBinderTest (curse you Optimize imports) Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Implemented Test for ExposureRiskMetadataDonor Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added check for isEnabled during Analytics submission Added DataDonationAnalyticsOneTimeWorker to allow for random distribution of Analytics submission events Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Moved contribution collection to own function to help with test menu features Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added analytics testing features Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * small fixes to the WorkerBinderTest added missing worker binding to WorkerBinder Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Put Analytics test options into an extra card. * in my defense, it was quite late Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Moved AnalyticsSettings to own package Updated the @IntoSet providers in AnalyticsModule to match the actual DonorModules Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added analyticsEnabled preference to AnalyticsSettings Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added a deleteData function to the DonorModule interface which can be used to remove persisted data if a user revokes analytics consent Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added skeleton to persist last analytics submission on tester devices Currently the tester version also does not store the data Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed borked unit tests Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Implemented File based storage of Last submitted analytics file on tester devices Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added calls to enable and disable analytics to the OnboardingAnalyticsViewModel Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed OnboardingAnalyticsFragmentTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Turns out AnalyticsConfigMapping was not implemented yet, fixed that Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added a timestamp to the stored Analytics Submission Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed unit tests in AnalyticsTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Updated AnalyticsConfigMapper to throw an exception if app config is invalid Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Implemented most of the comments from @d4rken Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * if -> when magic Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Moved analytics enable/disable to the Analytics class to allow for deletion on disable Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Made the AnalyticsTest a bit more concise and improved the abort checks Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Changed Api provider to reusable Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Aligned DataDonationAnalyticsApiV1 response with Survery format Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fixed OnboardingAnalyticsFragmentTest Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Merge with ppa-main exploded this for some reason, fixed now Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added analytics deactivation if no config is present on remote Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Fix error message if there is no last analytics data. We only need to check the values if the object itself is non-null. * Refactor upload response code check. Use a single `return when` to let the compiler enforce correct case handling. * Use a specific time object, as Long and just `getDelay` could be confusing. Android mostly uses long=miliseconds and not hours. * Only get the config once for the whole analytics submission process. Prevent unnecessary config checks, and if the config cache expires, don't let the config change in the middle of submisison. * LINTER ¯\_(ツ)_/¯ Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
chris-cwa authored
-
Lukas Lechner authored
* Show active tracing history in low risk detail screen * Move isGone logic from xml layout into state object and add tests Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Feb 11, 2021
-
-
Chilja Gossow authored
* show link for German only simplify layout and fragment * remove view model * add unit tests * use AppCompatImageView * comments Co-authored-by:
Mohamed Metwalli <Mohamed.Metwalli@sap.com>
-
Lukas Lechner authored
* Create SurveyUrlProvider.kt and SurveyHighRiskUrlProviderTest.kt * Call SurveyUrlProvider in Surveys.kt * Adapt SurveyUrlProvider.kt so that now the otp has to be passed directly * Add @Reusable annotation to SurveyUrlProvider.kt Co-authored-by:
BMItter <46747780+BMItter@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
chris-cwa authored
-
- Feb 10, 2021
-
-
Lukas Lechner authored
* Set offset to zero instead of 90 when 'fakeCorrectDeviceTime' is active * Add a description of the 'Fake correct device time' feature in the Test Menu Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Matthias Urhahn authored
Instead of faking the "disable-device-time-check" which won't work for SafetyNet, we now fake the time offset to be within the acceptable delta. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Feb 09, 2021
-
-
Philipp Nowak authored
First and last item of statistic cards was not reachable on some devices (EXPOSUREAPP-4945) (closes #2259) #2260 * Fix issue that first and last item of statistics recycler view was not reachable on some devices (#2259) * Disable PagerSnapHelper for devices with at least 600dp width (EXPOSUREAPP-4945) (closes #2259) * Fix issue that first and last item of statistics recycler view was not reachable on some devices (#2259) * Disable PagerSnapHelper for devices with at least 600dp width (EXPOSUREAPP-4945) (closes #2259) Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Juraj Kusnier authored
* Update LocalData implementation * Fix BackgroundWorkScheduler comment * Fix typo in SubmissionData * Skip risk calculation if user got a positive test result * Skip deadman notifications if user got a positive test result * Refresh diagnosis keys when test is removed * Update tests * End of life behaviour UI (EXPOSUREAPP-4641) (#2230) * Added strings. * Added card. * Added missing layout from main. * Removed duplicate layout and switched to different home icon. * Added test registration date. * Prepare UI for End of Life behaviour * Removed unused import. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Juraj Kusnier <jurajkusnier@gmail.com> * Add ReactivateRiskCheckDialog * Fix comment * Update strings * Not nullable date in SubmissionDone * Fix merge * Fix instrumentation test crash * Increased font size in card layout. * Keep DiagnosisKeyBackgroundWork alive Co-authored-by:
Alex Paulescu <alex.paulescu@gmail.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Maximilian Lenkeit authored
* remove redundant district prefixes proposal from UA after reviewing the rather technical names of the initial version * Adjust unit test to new districts JSON. * add missing spaces to district names * remove trailing whitespace from distict names Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
-
Matthias Urhahn authored
Add additional test menu options to test requirement validation.
-
- Feb 08, 2021
-
-
BMItter authored
* Implemented survey mapping * Disable/enable high risk survey by app config * ktlint & detekt * Create available surveys lazily, run flow on coroutine context * Use default params * Added test für survey mapping * adjusted TracingDetailsItemProviderTest * Reworked survey config mapping * Map safety net requirements * lint, detekt * Adjusted tests * Changed url string to http url
-
- Feb 05, 2021
-
-
Chilja Gossow authored
Scrolling issues with back navigation from Statistics Info screen to Homescreen (EXPOSUREAPP-4771) #2264 * remove state fetching when submission is done * keep instance * test * rollback * rollback * rollback * rollback * save state * clean up * refactor refreshUiState to not issue unnecessary states * remove references after usage * move to home adapter * remove reference to holder * adds tests to make sure ui states are still correct * rename * Add an adapter module that handles a voluntary ViewHolder state saving mechanism. * Merge branch 'fix/4771-home-flickering-polish' into fix/4771-home-flickering # Conflicts: # Corona-Warn-App/src/main/java/de/rki/coronawarnapp/statistics/ui/homecards/StatisticsHomeCard.kt # Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/main/home/HomeAdapter.kt * revert Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Matthias Urhahn authored
Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Kolya Opahle authored
* added implementation for ExposureRiskMetadataDonor, the de.rki.coronawarnapp.server.protocols.internal.ppdd.PpaData namespaces is populated by protos that are not yet present but will be added soon Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * updated imports to match new proto root classes, (still missing from repo) Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * switched to kotlin only solution for proto <-> settings string conversion Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * added unit test for exposure risk metadata serialisation Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added error handling to previousExposureRiskMetadata Added test that checks for changes in ExposureRiskMetadata serialization Signed-off-by:
Kolya Opahle <k.opahle@sap.com>
-
- Feb 04, 2021
-
-
Matthias Urhahn authored
* First safetynet draft. TODO: Additional integrity checks. * Add nonce and APK check. Move JWS data access helpers up to the wrapper. * Add device time and time_since_onboarding check. * Increase test coverage, check for null jwsResults. * Add data donation test menu. (Currently only shows SafetyNet JWS) * Improve exception message. * Additional test cases for different JSON fields. Log optional error message that may be returned. * Fix test regression due to missing mock * Address Lukas PR comments. * Add attestation max timeout (30s) + test. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
chris-cwa <69595386+chris-cwa@users.noreply.github.com>
-
chris-cwa authored
* Skeleton classes for SafetyNet and EventSurveys. * Fix LINTs, test compile error. * Remove lint breaking TODOs. * Add SafetyNet requirement validation call to the attestation interface. * Don't return salt/nonce, just offer the caller directly the PPACAndroid protobuf class. * Add documentation, fix test build error. * Add documentation, fix test build error. * + otp repo * unit test * requested changes * + timestamp * using gson * mockFlowPreference * https://github.com/corona-warn-app/cwa-app-android/pull/2232#discussion_r567892814 * additional tests * fixed test * https://github.com/corona-warn-app/cwa-app-android/pull/2232#discussion_r569357630 * https://github.com/corona-warn-app/cwa-app-android/pull/2232#discussion_r569358473 * https://github.com/corona-warn-app/cwa-app-android/pull/2232#discussion_r569557960 * https://github.com/corona-warn-app/cwa-app-android/pull/2232#discussion_r569559428 * https://github.com/corona-warn-app/cwa-app-android/pull/2232#discussion_r569359216 * Test formatting. * made reading otp from storage failsafe * fail fast in case gson does not initialize members * take advantage of compilereturn flow check, no Elvis-Op in unit tests * better name for test Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Feb 03, 2021
-
-
Mohamed Metwalli authored
* Add bottom bar * Fix di * Adjust theme * Align content on top of bottom bar * Enhance findNavController * Adjust Bottom Bar * Remove diary card * Remove up button * lint * Adapt MD theme * Fix ui tests * Delete contact diary , handle onboarding * Remove x button * Show bottom nav only for Home and contact diary destinations * Only contact diary overview screen * Adjust alert dialog theme * update docs * Fix close button issue * Revert close button changes * Rename text resources * Make visibility logic flexible for future additions * Fix typo * Setup main activity tests * Add diary overview screenshot test * lint * Disable unmocking * Update Gemfile.lock * Contact diary onboarding's bottom bar behaviour * Update ContactDiaryOnboardingFragmentTest.kt * Refactor screenshots tests * Update Corona-Warn-App/src/main/res/values/strings.xml Co-authored-by:
Sabine Loss <44154356+SabineLoss@users.noreply.github.com> * Update contact_diary_overview_fragment.xml * Small refactoring * Remove un required gravity * Use accent colour * Move diary settings into vm * Update tests * Update MainActivityViewModelTest.kt * Fix styling in bottom sheet dialog * Keep default delay * klint * Keep default delay Co-authored-by:
Sabine Loss <44154356+SabineLoss@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Mohamed Metwalli authored
* Add bottom bar * Fix di * Adjust theme * Align content on top of bottom bar * Enhance findNavController * Adjust Bottom Bar * Remove diary card * Remove up button * lint * Adapt MD theme * Fix ui tests * Delete contact diary , handle onboarding * Remove x button * Show bottom nav only for Home and contact diary destinations * Only contact diary overview screen * Adjust alert dialog theme * update docs * Fix close button issue * Revert close button changes * Rename text resources * Make visibility logic flexible for future additions * Fix typo * Contact diary onboarding's bottom bar behaviour * Update ContactDiaryOnboardingFragmentTest.kt * Update Corona-Warn-App/src/main/res/values/strings.xml Co-authored-by:
Sabine Loss <44154356+SabineLoss@users.noreply.github.com> * Update contact_diary_overview_fragment.xml * Small refactoring * Remove un required gravity * Use accent colour * Move diary settings into vm * Update MainActivityViewModelTest.kt * Fix styling in bottom sheet dialog Co-authored-by:
Sabine Loss <44154356+SabineLoss@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Matthias Urhahn authored
* PPA User Input Strings * Data Donation: PPA User Input. First draft. TODO: Districts Tests * Fix interaction with radio button.. Fix state matching for NRW Add district mapping and display. Fix "unspecified" element position. * Test skeletons. * Finish unit tests. * Wish the LINTer a nice evening. * Move extension functions into their own file and make them public to allow label-related code to be reused on the settings screen. Additional unit tests that check the federal state short code mapping. * XML formatting. * Address additional PR comments. * Adjust radiobutton accent color.
-
- Feb 02, 2021
-
-
Matthias Urhahn authored
* Let NetworkRequestWrapper enforce more specific generics. No nulls and errors need to be `Throwable` * Align error dialog generation and remove unnecessary casting. * Use less specific exception type for `filterIsInstance`. The expectation is that due to type erase, the filter will let any type of `RequestFailed` through anyways. Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Lukas Lechner authored
* Fix issue of not showing delta onboarding about interoperability before showing release notes * Suppress failure to give the chance for other steps to continue in Firebase TestLab * Fix instrumentation test * Revert "Suppress failure to give the chance for other steps to continue in Firebase TestLab" This reverts commit 5d642b66 * Use when statement instead of if-else conditions Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Alex Paulescu <alex.paulescu@gmail.com>
-
Lukas Lechner authored
* Adjust high risk card * Adjust high risk card * Fix accessibility to read "einem Tag" instead of "eins Tag" * Rename input parameters of IncreasedRisk data class from c to context Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
AlexanderAlferov authored
* Adjusted TracingDetailsItemProvider for tracing inactive status. * Tests added, refactoring * Tests refactored Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Chilja Gossow authored
* new release info items update * unit test move package * clean up * fix bottom spacing/ scrolling behavior * more tests * replace illustration * replace text * delete empty files
-
- Jan 29, 2021
-
-
Matthias Urhahn authored
* Skeleton classes for Analytics. * Rebased branch. * Adjust interface names. * Adjust TODOs, to calm the LINTER. WIP
-
- Jan 28, 2021
-
-
Matthias Urhahn authored
* Skeleton classes for SafetyNet and EventSurveys. * Fix LINTs, test compile error. * Remove lint breaking TODOs. * Add SafetyNet requirement validation call to the attestation interface. * Don't return salt/nonce, just offer the caller directly the PPACAndroid protobuf class. * Add documentation, fix test build error. * Add documentation, fix test build error. * Add environment variables for data donation server and SafetyNet API key. * Remove unused function. * Fix EnvironmentSetupTest.kt
-
- Jan 27, 2021
-
-
Chilja Gossow authored
* write test for DiagnosisTestResultRetrievalPeriodicWorker * klint * Use TimeStamper
-
chris-cwa authored
* no pop up for no info on symptoms * fixed test Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Lukas Lechner authored
* Fix issue of cutting off decimal place .00 in statistics cards * Fix number formatting issue when decimal value is 3 * Fix number formatting issue for values below zero Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Jan 26, 2021
-
-
Lukas Lechner authored
-
BMItter authored
* Now it is working * fix tests, not working after change Co-authored-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Jan 25, 2021
-
-
Matthias Urhahn authored
This basically prevents unnecessary data refreshes when moving between screens. After adding #2190, this time based test is now a lot easier :). Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
chris-cwa authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Matthias Urhahn authored
* Adjust DispatcherProvider interface to return type `CoroutineContext`. This is a preamble to fix a few coroutine tests that require time advancement. We need to be able to pass the TestCoroutineScope's context to classes under test. This can now be done using CoroutineContext.asDispatcherProvider(). * Fix compile error in test Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
ralfgehrer <mail@ralfgehrer.com>
-
Mohamed Metwalli authored
* Migrate to dagger2 assisted injection * bump version * Fix Worker test * Fix failing test * Remove Square AssistedInject from Technical file * Set nav-graph in Ui Thread to prevent crashing * bump dagger to 2.31.2
-
- Jan 22, 2021
-
-
chris-cwa authored
* adjusted Contact journal info screen with the additional texts and behaviour * removed duplicate image * https://github.com/corona-warn-app/cwa-app-android/pull/2155/files#r560716121 * additional layer in order to test * fixed unused import -.- * https://github.com/corona-warn-app/cwa-app-android/pull/2155#discussion_r562458618 * https://github.com/corona-warn-app/cwa-app-android/pull/2155#pullrequestreview-574153478 Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
BMItter authored
Contact Journal Risk Extension - Risk details contact overview logic & peristance (EXPOSUREAPP-4577) (#2142) * Added AggregatedRiskPerDateResult to AggregatedRisk, Added AggregatedRiskPerDateResult to riskresult database * Added list of AggregatedRiskPerDateResult to AggregatedRisk, Added AggregatedRiskPerDateResult to riskresult db * Save aggregated risk per date results * Override aggregatedRiskPerDateResults * Delete risk level per date which are older than 2 weeks * Prepared logic to show risk level per date in contact diary overview * Test day mapping for risk result * Added tests for AggregatedRiskPerDateResultDao * Fixed layouts in contact diary overview * Show risk in overview * click adjustments * Moved logic into view model * adjusted ListItem * Added clearing of obsolete aggregated risk per date results, cleaned tests * detekt & klint clean * Added test for clearing aggregated risk per date results * avoid main thread * Performance up lift by avoiding string templates * missleading comment * adjusted filter method * We dislike flaky tests * Added testability for migration * Adjusted day count for journal * fixed test * ktlint & detekt * adjusten retention * ktlint, detekt * adjusted ContactDiaryCleanTaskTest * Add tests for aggregated risk per date result table Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-