enable foreground -> fix for worker sensors dissapier

This commit is contained in:
Martin Ptáček
2023-07-31 00:02:22 +02:00
parent fa8ea69901
commit 5552df34c1

View File

@ -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)