Fit left black bars around images that do not match the screen. A new
option fills them with a blurred copy of the image, in static and live
mode. In live mode the user's blur now runs on the combined picture, so
it also softens the picture's edges as it already did in static mode.
Fixes#608
- decode wallpapers with ImageDecoder only; the BitmapFactory and manual EXIF fallback could not be needed at minSdk 31
- remove BootReceiver: WorkManager reschedules periodic work after reboot
- replace the in-process reload broadcast with a shared flow
- remove the Room enum converter; Room stores enums by name
- stop importing SVG, which neither apply path can decode, and drop coil-svg
- remove the unused special-use foreground service permission
Dead code
- Remove the manual sort screen, unreachable since sorting moved into the
album screen, with its route, strings, reorder repository/DAO methods and
the reorderable dependency.
- Remove unused parameters, defaults, typography styles and constants.
UI
- Share the settings card, selectable grid card, wallpaper grid, back top
bar, album cover, snackbar effect and onboarding button instead of
keeping copies per screen; move shared pieces to common/components.
- HomeViewModel owns the duplicate album name rule and exposes only the
animate flag; WallpaperViewViewModel exposes its own route arguments.
- The wallpaper viewer title shows the decoded file name.
- The empty library uses the same empty state as albums and folders.
Data and services
- Keep document-provider scanning next to AndroidDocumentSource and return
SourceImage directly.
- Define preference keys where they are used; query the current wallpaper
once.
- Use runCatchingCancellable for the remaining hand-written rethrows.
Live wallpaper
- Draw the crossfade without the always-opaque alpha helper and drop
redundant program binds, guards and dead stores.
- Stop checking GL errors after deletes, which threw stale errors from
cleanup and leaked tiles.
- A crashed GL thread refuses queued events instead of holding them.
Error handling
- Replace the custom Result type with exceptions; callers catch at the
edge via runCatchingCancellable so cancellation always propagates.
- Log live wallpaper queue failures that were previously ignored.
Architecture
- Add SettingsCoordinator to own settings edits and their scheduling side
effects; ViewModels now only hold UI state.
- Add a domain WallpaperRenderer interface (Android implementation in
data/source) and drop Context from use cases; the service maps
exceptions to messages.
- Share queue dequeuing between static changes and the live wallpaper.
- Merge PreferencesManager into SettingsRepositoryImpl with generated
effect keys (stored key names unchanged).
- Start WallpaperChangeService only through its helpers; merge the
duplicate change actions and share one error path for all actions.
- Fold AlbumRefreshScheduler into WallpaperScheduler.
- Move WallpaperSorter, AppModule and design tokens to their owners.
Cleanup
- Remove unused constants, WorkManager tags, single-value enums and
converters (Room schema unchanged), brand-based texture limits and
single-use design tokens.
- Deduplicate effect controls, interval fields, sort events and
StateFlow sharing.
- Cut trivial tests and comments that restated the code.
Add cancellable imports, preserve inaccessible sources, and update covers and queues atomically. Share folder refresh logic, improve collection controls and accessibility, and simplify repository and selection code.
Validated with 299 unit tests, 29 device tests, lint, and a debug build.
Fixed settings page appearing wrong on Pixel devices
Fixed bottom sheet on SDK less than 28
Updated project to Kotlin compiler 2.0
Updated AGP to 8.4.1