This repository was archived by the owner on Jun 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 487
Release 1.7 to 1.8 #1631
Merged
Merged
Release 1.7 to 1.8 #1631
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Release/1.5.x
Release/1.5.x
* Don't rename the APK on `device` flavor builds. It breaks internal pipelines. * Better log output.
* + config changed detector * tests * ConfigChangeDetector.kt improvements. * Fix config collecting scoping * Move the identifier update into the RiskLevelTask * Add test coverage * Logs NO-OPs too. * Filter emissions early if the value didn't change. * extracted constant Co-authored-by: Matthias Urhahn <[email protected]>
Change-Id: I64e8b3a17346d3e14e3c7306c89100633afc104e Co-authored-by: Ralf Gehrer <[email protected]>
* Catch cancellation exceptions for coroutines launched on the viewModelScope. * Use the viewmodel provided launch method to use common handling. Co-authored-by: harambasicluka <[email protected]> Co-authored-by: chris-cwa <[email protected]>
Co-authored-by: harambasicluka <[email protected]>
#1604) * Flush the json data after writing it, otherwise if the app process dies, we end up with an empty file. GSON deserializes this into a null object that looks like a non-null object until it is evaluated some time later. Force an evaluation via `require(it.size >= 0)` and delete the corrupt data file when catching the exception. * Show a visible error dialog if we fail to save data. * Used buffered versions of readers and writer.
…23) (#1597) * Update RiskLevelRepository.kt * Removed comment Co-authored-by: harambasicluka <[email protected]>
* Fix HotDataFlow behavior. * Prevent re-execution of past submissions when the observable goes cold. * Guard internal value updates with a mutex in case the value update is not as thread-safe as we think it is. * Fix problematic testcases.
…1608) * Make config sharing behavior `SharingStarted.Lazily`. (start once, never release) Otherwise classes that are just interested in the current config, if there is no other subscriber active, would launch the `startValueProvider` and pull a config each time. The ExposureDetectionTracker is such a candidate that would like to use the latest config every ~3min. While this already no longer happens since "Track config changes" (4d1ecb5), because there is no a class that is permanently subscribed to `currentConfig`, we should not rely on side-effects, so let's make the sharing behavior explicit. * Fix test regression. Co-authored-by: harambasicluka <[email protected]>
Co-authored-by: Ralf Gehrer <[email protected]>
# Conflicts: # Corona-Warn-App/src/main/java/de/rki/coronawarnapp/nearby/modules/detectiontracker/ExposureDetectionTrackerStorage.kt # Corona-Warn-App/src/main/java/de/rki/coronawarnapp/util/flow/HotDataFlow.kt # Corona-Warn-App/src/test/java/de/rki/coronawarnapp/util/flow/HotDataFlowTest.kt # gradle.properties
Co-authored-by: Kolya Opahle <[email protected]> Co-authored-by: harambasicluka <[email protected]>
Merge 1.6.x into 1.7.x
…age sind, können nicht gelöscht werden (EXPOSUREAPP-2398) (#1586) * 1. Replaced redundant uiStateState during test result fetch with a NetworkRequestWrapper that is able to represent multiple states. This allows for better request state handling throughout the app 2. Completely removed the SubmissionViewModel 3. Failure to fetch the test should now always display the invalid test card on the home screen Signed-off-by: Kolya Opahle <[email protected]> * Keep displaying fetching card on server errors as this usually does not indicate any problems with the test itself Signed-off-by: Kolya Opahle <[email protected]> * Fixing unit tests (mostly just syntax, one test case changed due to new card) Signed-off-by: Kolya Opahle <[email protected]> * Promoted unknown host exception to server exception Co-authored-by: chris-cwa <[email protected]> Co-authored-by: harambasicluka <[email protected]>
|
Kudos, SonarCloud Quality Gate passed!
|
d4rken
approved these changes
Nov 17, 2020
janetback
approved these changes
Nov 17, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.