Commit 33067557 authored by stopcovid@lunabee.com's avatar stopcovid@lunabee.com
Browse files

Update to 2.3.1

- Fix configuration and calibration not updated
parent 608d724c
...@@ -284,14 +284,14 @@ class RobertManagerImpl( ...@@ -284,14 +284,14 @@ class RobertManagerImpl(
} }
private fun handleConfigChange(configuration: Configuration) { private fun handleConfigChange(configuration: Configuration) {
if (configuration.version != keystoreRepository.configuration?.version ?: -1) { if (configuration.version <= keystoreRepository.configuration?.version ?: -1) {
return return
} }
keystoreRepository.configuration = configuration keystoreRepository.configuration = configuration
} }
private fun handleCalibrationChange(calibration: Calibration) { private fun handleCalibrationChange(calibration: Calibration) {
if (calibration.version != keystoreRepository.calibration?.version ?: -1) { if (calibration.version <= keystoreRepository.calibration?.version ?: -1) {
return return
} }
keystoreRepository.calibration = calibration keystoreRepository.calibration = calibration
......
...@@ -43,8 +43,8 @@ android { ...@@ -43,8 +43,8 @@ android {
applicationId "fr.gouv.android.stopcovid" applicationId "fr.gouv.android.stopcovid"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 30 targetSdkVersion 30
versionCode 178 versionCode 180
versionName "2.3.0" versionName "2.3.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment