From 3e86e8b81b245876641594fc531654bf3ec0126f Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sat, 1 Jun 2024 18:47:11 +0200 Subject: [PATCH] chore: replace current job at wallpaper tile --- .../com/bnyro/wallpaper/util/WallpaperChangerTileService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/bnyro/wallpaper/util/WallpaperChangerTileService.kt b/app/src/main/java/com/bnyro/wallpaper/util/WallpaperChangerTileService.kt index 02571c65..15cd736e 100644 --- a/app/src/main/java/com/bnyro/wallpaper/util/WallpaperChangerTileService.kt +++ b/app/src/main/java/com/bnyro/wallpaper/util/WallpaperChangerTileService.kt @@ -27,7 +27,7 @@ class WallpaperChangerTileService : TileService() { .build() WorkManager.getInstance(this) - .enqueueUniqueWork(TILE_WORKER_KEY, ExistingWorkPolicy.KEEP, oneTimeJob) + .enqueueUniqueWork(TILE_WORKER_KEY, ExistingWorkPolicy.REPLACE, oneTimeJob) qsTile.state = Tile.STATE_ACTIVE qsTile.updateTile()