8000 Fix: submitted_after_symptom_flow (EXPOSUREAPP-14703) by mtwalli · Pull Request #5830 · corona-warn-app/cwa-app-android · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Fix: submitted_after_symptom_flow (EXPOSUREAPP-14703) #5830

Merged
merged 3 commits into from
Feb 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class SubmissionSymptomIntroductionViewModel @AssistedInject constructor(
)
)
}

Symptoms.Indication.NEGATIVE -> {
submissionRepository.updateCurrentSymptoms(
Symptoms(
Expand All @@ -66,6 +67,7 @@ class SubmissionSymptomIntroductionViewModel @AssistedInject constructor(
.actionSubmissionSymptomIntroductionFragmentToSubmissionDoneFragment(testType)
)
}

Symptoms.Indication.NO_INFORMATION -> {
submissionRepository.updateCurrentSymptoms(
Symptoms(
Expand All @@ -79,6 +81,7 @@ class SubmissionSymptomIntroductionViewModel @AssistedInject constructor(
.actionSubmissionSymptomIntroductionFragmentToSubmissionDoneFragment(testType)
)
}

else -> Unit
}
}
Expand Down Expand Up @@ -120,6 +123,7 @@ class SubmissionSymptomIntroductionViewModel @AssistedInject constructor(
appScope.launch {
try {
autoSubmission.runSubmissionNow(testType)
analyticsKeySubmissionCollector.reportSubmittedAfterSymptomFlow(testType)
} catch (e: Exception) {
Timber.e(e, "performSubmission() failed.")
}
Expand Down
0