diff --git a/client/app/src/main/java/com/birdthedeveloper/prometheus/android/exporter/worker/PromWorker.kt b/client/app/src/main/java/com/birdthedeveloper/prometheus/android/exporter/worker/PromWorker.kt index 3f05edc..fd80515 100644 --- a/client/app/src/main/java/com/birdthedeveloper/prometheus/android/exporter/worker/PromWorker.kt +++ b/client/app/src/main/java/com/birdthedeveloper/prometheus/android/exporter/worker/PromWorker.kt @@ -125,7 +125,7 @@ class PromWorker( val inputConfiguration: PromConfiguration = PromConfiguration.fromWorkData(inputData) Log.d(TAG, "Launching PromWorker with the following config: $inputConfiguration") - //setForeground(createForegroundInfo()) + setForeground(createForegroundInfo()) startServicesInOneThread(inputConfiguration)