Skip to content

Commit

Permalink
chore: replace current job at wallpaper tile
Browse files Browse the repository at this point in the history
  • Loading branch information
Bnyro committed Jun 1, 2024
1 parent 422f916 commit 3e86e8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3e86e8b

Please sign in to comment.