diff --git a/backend b/backend index c919cb37..b37afa78 160000 --- a/backend +++ b/backend @@ -1 +1 @@ -Subproject commit c919cb3704a07de7a1de71f3ce35dc2062045a19 +Subproject commit b37afa78622eacaffa1221fbde591a135d968dc6 diff --git a/build.gradle b/build.gradle index 8660c6a7..08f07025 100644 --- a/build.gradle +++ b/build.gradle @@ -60,10 +60,10 @@ ext { */ // Cyface dependencies - cyfaceAndroidBackendVersion = "7.9.1" // Also update submodule commit ref - cyfaceUtilsVersion = "4.0.3" - cyfaceEnergySettingsVersion = "4.0.2" // Also update submodule commit ref - cyfaceCameraServiceVersion = "4.3.2" // Also update submodule commit ref + cyfaceAndroidBackendVersion = "7.9.2" // Also update submodule commit ref + cyfaceUtilsVersion = "4.0.4" + cyfaceEnergySettingsVersion = "4.0.3" // Also update submodule commit ref + cyfaceCameraServiceVersion = "4.3.3" // Also update submodule commit ref // Maybe keep this in sync with the serialization library version used in `uploader` lib cyfaceSerializationVersion = "3.0.0" // Keep im sync with version in submodule `backend` cyfaceUploaderVersion = "1.0.0" diff --git a/camera_service b/camera_service index 9d58f1d2..263691a6 160000 --- a/camera_service +++ b/camera_service @@ -1 +1 @@ -Subproject commit 9d58f1d223dad7add3867818ddba3bfd9a118761 +Subproject commit 263691a61138b624926386f24dee066164bf82bd diff --git a/energy_settings b/energy_settings index 4955fd4b..f9874882 160000 --- a/energy_settings +++ b/energy_settings @@ -1 +1 @@ -Subproject commit 4955fd4b5dccaccf3d8d0ae596d815374d297446 +Subproject commit f9874882ba539bb31e3356f30a389fb0d2fbcf59 diff --git a/utils/src/main/kotlin/de/cyface/app/utils/capturing/settings/UiSettings.kt b/utils/src/main/kotlin/de/cyface/app/utils/capturing/settings/UiSettings.kt index 4af012c6..25eeeb33 100644 --- a/utils/src/main/kotlin/de/cyface/app/utils/capturing/settings/UiSettings.kt +++ b/utils/src/main/kotlin/de/cyface/app/utils/capturing/settings/UiSettings.kt @@ -61,7 +61,8 @@ class UiSettings(context: Context, incentivesUrl: String) { private val dataStore: DataStore = MultiProcessDataStoreFactory.create( serializer = SettingsSerializer, produceFile = { - File("${appContext.cacheDir.path}/app_utils.pb") + // With cacheDir the settings are lost on app restart [RFR-799] + File("${appContext.filesDir.path}/app_utils.pb") }, migrations = listOf( PreferencesMigrationFactory.create(appContext, incentivesUrl),