feat(wallpaper): add apply_wallpaper workflow and rotation worker

Adds a new apply_wallpaper command and its plumbing across
desktop, mobile, and Android. A WorkManager-based rotation
worker handles applying wallpapers in the background. Wallpaper
state now tracks currentId and imageIds for precise control.

- Introduced apply_wallpaper command across desktop, mobile and Android
- Added WorkManager-based rotation worker to apply wallpapers in the
  background
- Extended wallpaper state with currentId and imageIds and updated schemas/permissions
This commit is contained in:
2026-08-21 23:15:00 +02:00
parent e494b17117
commit 73f8599c7f
25 changed files with 266 additions and 49 deletions
@@ -14,6 +14,7 @@ Allow the LockScreenWallpaper app to manage its wallpaper collection
- `allow-set-setting`
- `allow-set-interval`
- `allow-next-wallpaper`
- `allow-apply-wallpaper`
- `allow-get-immich-connection`
- `allow-connect-immich`
- `allow-disconnect-immich`
@@ -31,6 +32,32 @@ Allow the LockScreenWallpaper app to manage its wallpaper collection
</tr>
<tr>
<td>
`wallpaper:allow-apply-wallpaper`
</td>
<td>
Enables the apply_wallpaper command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`wallpaper:deny-apply-wallpaper`
</td>
<td>
Denies the apply_wallpaper command without any pre-configured scope.
</td>
</tr>
<tr>
<td>