mirror of
https://github.com/mii443/prometheus-android-exporter.git
synced 2025-08-22 07:05:35 +00:00
enable foreground -> fix for worker sensors dissapier
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user