diff --git a/app/src/main/java/it/ministerodellasalute/immuni/logic/notifications/AppNotificationManager.kt b/app/src/main/java/it/ministerodellasalute/immuni/logic/notifications/AppNotificationManager.kt
index ecea9d988..9b4675e3d 100644
--- a/app/src/main/java/it/ministerodellasalute/immuni/logic/notifications/AppNotificationManager.kt
+++ b/app/src/main/java/it/ministerodellasalute/immuni/logic/notifications/AppNotificationManager.kt
@@ -213,7 +213,7 @@ class AppNotificationManager(val context: Context) : KoinComponent {
return NotificationCompat.Builder(context, FOREGROUND_SERVICE_CHANNEL_ID)
.setContentTitle(context.getString(R.string.app_name))
.setTicker(context.getString(R.string.app_name))
- .setContentText(context.getString(R.string.home_view_service_active_title))
+ .setContentText(context.getString(R.string.exposure_check_in_progress))
.setSmallIcon(R.drawable.ic_notification_app)
.setOnlyAlertOnce(true)
.setColor(ContextCompat.getColor(context, R.color.colorPrimary))
diff --git a/app/src/main/java/it/ministerodellasalute/immuni/workers/ExposureNotificationWorkers.kt b/app/src/main/java/it/ministerodellasalute/immuni/workers/ExposureNotificationWorkers.kt
index 33d2a5ebe..e63250cca 100644
--- a/app/src/main/java/it/ministerodellasalute/immuni/workers/ExposureNotificationWorkers.kt
+++ b/app/src/main/java/it/ministerodellasalute/immuni/workers/ExposureNotificationWorkers.kt
@@ -17,7 +17,6 @@ package it.ministerodellasalute.immuni.workers
import android.content.Context
import androidx.work.CoroutineWorker
-import androidx.work.ForegroundInfo
import androidx.work.WorkerParameters
import it.ministerodellasalute.immuni.BuildConfig
import it.ministerodellasalute.immuni.R
@@ -73,19 +72,8 @@ class RequestDiagnosisKeysWorker(
private val settingsManager: ConfigurationSettingsManager by inject()
private val notificationManager: AppNotificationManager by inject()
- private val NOTIFICATION_FETCH_ID = 10001
-
override suspend fun doWork(): Result {
- // Make the worker run in a Foreground Service to reduce the chance of falling into the rare bucket
- // https://developer.android.com/topic/performance/appstandby#rare-bucket
- setForeground(
- ForegroundInfo(
- NOTIFICATION_FETCH_ID,
- notificationManager.fetchKeysForegroundNotification()
- )
- )
-
// DEBUG notification
if (applicationContext.resources.getBoolean(R.bool.development_device)) {
notificationManager.triggerDebugNotification("Check Exposition Worker.")
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 9d1f1dedf..1480f9a10 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -370,4 +370,5 @@ Operating system: iOS 13.5.1; Model: iPhone XS; Exposure notifications: Active;
None
%@ at %@
%1$s at %2$s
+ Exposure check in progress
diff --git a/build.gradle b/build.gradle
index 575c47352..0cc6f6a38 100644
--- a/build.gradle
+++ b/build.gradle
@@ -5,7 +5,7 @@ buildscript {
// App version digits
versionMajor = 1
versionMinor = 4
- versionPatch = 0
+ versionPatch = 1
// Version name follows the .. convention
computeVersionName = { ->