- Jan 25, 2021
-
-
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>
-
Lukas Lechner authored
* Show custom error message for CwaWebSecurityExceptions * Remove Test String * Update strings.xml * Fixed quotes Co-authored-by:
janetback <68653277+janetback@users.noreply.github.com> Co-authored-by:
ralfgehrer <mail@ralfgehrer.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Mohamed Metwalli authored
* Remove FAQ link * Remove link resource * Revert "Remove link resource" This reverts commit 2f0618c88b6f4ef536bef1e0de91d632db9c959d. * Remove link only for German Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.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>
-
Matthias Urhahn authored
* Fix statistics data missing on in-app data reset due to no refresh being triggered. Don't do a full reset and add statistics data subscription timeout. * Fix test (bad changeset)
-
Juraj Kusnier authored
* Unify cards design * Change cards height * Layout update after merge * Implement responsive layout manager * Update layout and refactor code * Satisfy lint * Update image padding * Code improvements
-
Matthias Urhahn authored
* Remove unused getters. * Don't use XML for preference keys. (Affects all items in LocalData, but this one may fit a bug description, the others are scheduled for refactoring in another PR) Co-authored-by:
Mohamed Metwalli <Mohamed.Metwalli@sap.com>
-
Matthias Urhahn authored
TracingDetailsItemProvider is used for the tracing/risk details screen. This has specific behavior that the logging period is not shown if the last calculation failed. By reusing this data provider for the tracing settings, if the last calculation failed, we never set "loggingPeriod". If loggingPeriod is null, the databinding causes the layout to be invisible.
-
Kolya Opahle authored
* changed ExistingPeriodicWorkPolicy to KEEP for deadman check task to stop notification loop on every app open Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * fixed tests Signed-off-by:
Kolya Opahle <k.opahle@sap.com> * Added info text to the schedulePeriodic doc ... ... to explain the change to ExistingPeriodicWorkPolicy * Fixed linting Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Jan 21, 2021
-
-
Lukas Lechner authored
Fix flickering of statistics cards when returning from statistics information screen (EXPOSUREAPP-4704) (#2175) * Override equals() of StatisticsHomeCard.Item to ignore onHelpAction click listener * Override hashCode() in StatisticsHomeCard.Item
-
Mohamed Metwalli authored
* Remove unknown risk item from overview screen * Use date instead of days * Introduce a new string Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Mohamed Metwalli authored
* Replace with lambda * Add specific error handling for tan retrieval * Extend from CwaClientError * Handle BadRequestException for Tan and keys exchange * lint * lint * Fix typo * Add unit tests * Check for cause
-
- Jan 20, 2021
-
-
Matthias Urhahn authored
Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
Lukas Lechner <lukas.lechner@sap.com>
-
AlexanderAlferov authored
* Texts for statistics explanation screen * Initial commit with illustration and layout * First descriptions added * Legend added * Trends added * Navigation added * Night mode image added * Complete screen * Lint fix * Image update * Refactor
-
Juraj Kusnier authored
* Unify cards design * Change cards height * Layout update after merge * Revert layout changes
-
axelherbstreith authored
Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
Chilja Gossow authored
-
- Jan 19, 2021
-
-
Juraj Kusnier authored
* Update strings * Design Key Submissions Card * use StatisticsCardInfoButton style * Rename variables * Update design * Update design * Remove unnecessary margin * Design update * Code refactoring * Set listener to card info button
-
Lukas Lechner authored
* Implement layout and bind data to it * Use sevenDayIncidence property for more convenient access of the statistics data
-
Chilja Gossow authored
-
axelherbstreith authored
* changed talk back annoucement * added day view announcement * added missing quotation marks to accessibility strings * linting Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Juraj Kusnier authored
* update Infections Card layout * Revert some changes * Add primary label to statistics cards * Implement strings * Update Infections Card design * Update Infections Card design * Ignore MissingConstraints to satisfy lint * Add night drawable * Update dimensions * Update design * Remove icon duplicate * use StatisticsCardInfoButton style * Update layout
-
Juraj Kusnier authored
-
axelherbstreith authored
* added type announcement * added enum class for types * updated to when statement for type decision
-
Lukas Lechner authored
-
Chilja Gossow authored
* TrendArrowView * card 7-day-r-value implementation * margins and ripple * use decimals provided by backend
-
- Jan 18, 2021
-
-
chris-cwa authored
* extracted patterns * - unexpected empty line * fixed encoding issues * was too complicated before * trying to live with different implementations * make everybody happy * pattern test * more normalizing * improved readability * team wants to hardcode everything * ktlint Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
axelherbstreith authored
* added type announcement * added enum class for types * updated to when statement for type decision
-
Juraj Kusnier authored
* Introduce getFormattedDate() * Update strings
-
Chilja Gossow authored
* TrendArrowView * remove redundant frame layout * add content description
-
Chilja Gossow authored
* do not schedule reminders when test result has been viewed * clean up * renaming to make clear which notification is meant * refactor worker * rename * DI issues * DI test code * add else branch test code * test code * refactoring * comment
-
Lukas Lechner authored
* Implement StatisticsNumberValueFormatter.kt and add tests * Fix ktlint issues * Improve StatisticsNumberValueFormatter.kt * Reduce parameters for formatter, adapt test * Define formatting function as top-level function instead of a function in object
-
Matthias Urhahn authored
* Replace mock data with data loaded from server. * Revert unrelated change. * Some refactoring, add a generic statistics scope annotation. Clear retrofit cache on clear. * Clear statistic data on app reset. * Unit tests for StatisticsCache.kt * Implement tests for StatisticsModule init. * Add tests for statistics api. * Add statistics server tests that check signature validation behavior. * Add tests for StatisticsProvider behavior. * Tests for parsing statistics data. * LINTING * Add helper methods to access each cards values, and validate card KeyFigure count and types before exposing them. * LINTs. * Rename variable.
-
Mike McCready authored
-
- Jan 15, 2021
-
-
Matthias Urhahn authored
-
Chilja Gossow authored
* show pending card when offline * dismiss alert dialog when leaving pending result screen * handle errors dialog properly when multiple request are triggered through repeated opening of screen or going to background
-
- Jan 14, 2021
-
-
Matthias Urhahn authored
* Add placeholders for statistic UIs. * Satisfy the linter.
-
Matthias Urhahn authored
* Remove unused layout? * Add unit test that checks if we give consent. * Actually give consent. * Add more debug output. Log all the things! Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-