Skip to content
Snippets Groups Projects
Commit d5772bb3 authored by chris-cwa's avatar chris-cwa
Browse files

use 1.8.x variants

parent 014de69a
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ import javax.inject.Inject ...@@ -11,7 +11,7 @@ import javax.inject.Inject
@Reusable @Reusable
class ExposureDetectionConfigMapper @Inject constructor() : ExposureDetectionConfig.Mapper { class ExposureDetectionConfigMapper @Inject constructor() : ExposureDetectionConfig.Mapper {
override fun map(rawConfig: AppConfigAndroid.ApplicationConfigurationAndroid): ExposureDetectionConfig { override fun map(rawConfig: AppConfigAndroid.ApplicationConfigurationAndroid): ExposureDetectionConfig {
val exposureParams = if (rawConfig.hasAndroidExposureDetectionParameters()) { val exposureParams = if (rawConfig.hasExposureDetectionParameters()) {
rawConfig.exposureDetectionParameters rawConfig.exposureDetectionParameters
} else { } else {
null null
......
...@@ -16,7 +16,7 @@ import javax.inject.Inject ...@@ -16,7 +16,7 @@ import javax.inject.Inject
@Reusable @Reusable
class KeyDownloadParametersMapper @Inject constructor() : KeyDownloadConfig.Mapper { class KeyDownloadParametersMapper @Inject constructor() : KeyDownloadConfig.Mapper {
override fun map(rawConfig: AppConfigAndroid.ApplicationConfigurationAndroid): KeyDownloadConfig { override fun map(rawConfig: AppConfigAndroid.ApplicationConfigurationAndroid): KeyDownloadConfig {
val rawParameters = if (rawConfig.hasAndroidKeyDownloadParameters()) { val rawParameters = if (rawConfig.hasKeyDownloadParameters()) {
rawConfig.keyDownloadParameters rawConfig.keyDownloadParameters
} else { } else {
null null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment