893 Commits
Author SHA1 Message Date
Anthonyy232 df5985f3d6 chore: release v4.2.2 v4.2.2 2026-11-10 23:44:16 -08:00
Anthonyy232 e4e19faa24 chore: update the build plugins and dependencies
AGP 9.5.1, Kotlin plugins 2.4.21, Compose BOM 2026.09.00, material3
1.5.0-rc01, DataStore 1.3.0, WorkManager 2.12.0, serialization 1.12.0,
mockk 1.14.12 and zoomable 2.16.0.
2026-11-10 23:40:10 -08:00
Anthonyy232 e41920b65f chore: drop the redundant v26 qualifier from the launcher icon folder
minSdk is 31, so the qualifier never selects anything.
2026-11-10 23:35:43 -08:00
Anthonyy232 c21f9d11df refactor: drop code the platform and libraries already provide
- 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
2026-11-10 15:12:40 -08:00
Anthonyy232 d2ffa9745b refactor: merge duplicated dialogs, switch rows, comparators and settings lookups
One ConfirmDialog, SettingSwitchRow, launchBusy and sort comparator replace their copies. ScheduleSettings gains albumId(screen) and isRotating(mode). CreateAlbumUseCase is now the only owner of the duplicate-name rule (case-insensitive, as the user already saw); the unused name query is gone. TimeIntervalPicker splits durations with kotlin.time.
2026-11-10 15:12:40 -08:00
Anthonyy232 d6bd404add refactor: move test fixtures and test-only queries out of main
The empty() model factories and four DAO methods were only called by tests. Fixtures now live in a source dir shared by unit and instrumented tests.
2026-11-10 12:25:33 -08:00
Anthonyy232 b3c2264bd3 fix: hide shuffle and adaptive brightness descriptions whenever enabled
They depended on the unrelated individual scheduling switch; the other toggles hide the description when on.
2026-11-10 12:25:33 -08:00
Anthonyy232 11724d99d3 refactor: use the SliderState slider overload
The value overload is deprecated in material3 1.5; this is what it did internally.
2026-11-10 12:25:33 -08:00
Anthonyy232 4e05b62d6e fix: load one live wallpaper at start and redraw on theme change
The engine requested a wallpaper in onCreate and again on the first settings emission, consuming two queue items. Adaptive brightness now gets a new frame when dark mode changes while visible.

Also drops the reload throttle, which only the album switch used, the renderer teardown that could never run because the surface is destroyed before the engine, and the catch that silently ended settings observation.
2026-11-10 08:25:05 -08:00
Anthonyy232 2044748e20 fix: stop the library tab padding system bars twice
The nested Scaffold re-applied the insets the home Scaffold had already padded, on edge-to-edge devices.
2026-11-10 08:25:05 -08:00
Anthonyy232 97dc38bbfb test: cut tests that cannot fail and tighten weak ones
- Remove tests that repeat another test, only verify a one-line delegate,
  compare a helper with itself, or exercise the platform.
- Make the EXIF rotation, lock interval validation, partial import and
  render selection tests fail when the behaviour breaks.
- Round-trip every schedule setting through the settings repository.
2026-11-10 02:47:40 -08:00
Anthonyy232 d169b84430 refactor: untangle the UI, remove the dead sort screen and trim leftovers
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.
2026-11-10 02:47:40 -08:00
renovate[bot] f153eebc71 fix(deps): update dependency androidx.compose.material3:material3 to v1.5.0-beta01 (#643)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-21 22:24:08 +00:00
Anthonyy232 66766c7926 chore: release v4.2.1 v4.2.1 2026-10-13 09:15:11 -07:00
Anthonyy232 3b85cdb822 refactor: strip release debug logs and drop hand-rolled catches
- Strip Log.d/Log.v in release via R8; remove the per-frame parallax log.
- Use runCatchingCancellable instead of manual cancellation rethrows.
- Remove an unreachable catch in AlbumViewViewModel.deleteSelected.
- Reduce AlbumRefreshWorker to the work itself; drop log-only counters.
- Replace a force-unwrap in HomeScreen with a local val.
2026-10-13 09:10:03 -07:00
Anthonyy232 7dc1171678 refactor: simplify architecture and remove dead and duplicated code
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.
2026-10-13 00:59:21 -07:00
renovate[bot] a84bfabbed fix(deps): update dependency androidx.navigation:navigation-compose to v2.10.2 (#634)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-08 12:01:59 +00:00
renovate[bot] fb1c8a22f2 fix(deps): update dependency androidx.core:core-ktx to v1.19.1 (#633)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-08 05:53:49 +00:00
renovate[bot] ddc7c8e5ca fix(deps): update dependency androidx.compose.material3:material3 to v1.5.0-alpha29 (#632)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-08 02:21:46 +00:00
renovate[bot] 1810f8cc9e fix(deps): update coil to v3.6.3 (#630)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-02 14:14:35 +00:00
Anthony La ca28dcd3ca Merge pull request #628 from Anthonyy232/codex/reliability-release
Improve wallpaper reliability and simplify app for v4.2.0
v4.2.0
2026-09-26 11:06:02 -07:00
Anthonyy232 1ba3d10aa7 Improve wallpaper reliability and simplify app for v4.2.0 2026-09-26 10:58:04 -07:00
Anthonyy232 f8fa13d487 fix: make album imports and refreshes reliable
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.
2026-09-26 10:58:04 -07:00
renovate[bot] 7e942a2c83 fix(deps): update dependency androidx.room:room-runtime to v2.8.5 (#626)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-26 07:58:55 +00:00
renovate[bot] 80468834fc fix(deps): update dependency androidx.room:room-ktx to v2.8.5 (#625)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-26 01:05:55 +00:00
renovate[bot] 426bfd1763 fix(deps): update dependency androidx.room:room-compiler to v2.8.5 (#624)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-25 23:21:47 +00:00
renovate[bot] 2dc2790eba fix(deps): update dependency androidx.navigation:navigation-compose to v2.10.1 (#623)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-25 19:51:10 +00:00
renovate[bot] 3bd03c87d4 fix(deps): update dependency androidx.compose.material3:material3 to v1.5.0-alpha28 (#622)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-25 12:10:18 +00:00
renovate[bot] d28d343c8f chore(deps): update dependency com.google.devtools.ksp to v2.3.12 (#620)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-24 23:36:50 +00:00
Anthony La fdc9dc2591 ci: gate dependency updates on lint and toolchain review (#616) 2026-09-21 21:16:13 -07:00
renovate[bot] e00c356ac2 fix(deps): update coil to v3.6.2 (#611)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-18 20:55:12 +00:00
renovate[bot] 174f5b17e6 fix(deps): update coil to v3.6.1 (#609)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-15 23:30:22 +00:00
Anthony La e18f3eceb9 fix: defer automatic rotation after manual changes
Preserve the full interval with an in-place next-run override and add request-level and real WorkManager regression coverage.
v4.1.1
2026-09-12 12:06:19 -07:00
Anthony La 22cc66687e chore: prepare Paperize v4.1.1 (#606)
Bump the app to version 4.1.1 (56) and add release notes for Simplified Chinese support and corrected notification privacy text.
2026-09-12 11:26:44 -07:00
Anthony La fc90aeaa78 Merge pull request #605 from zxiaoshen/i18n/zh-CN
feat(i18n): add Simplified Chinese (zh-CN) translation
2026-09-12 11:18:31 -07:00
Anthonyy232 7fb0f8e824 fix(i18n): qualify Simplified Chinese and correct privacy copy 2026-09-12 11:13:18 -07:00
dsh 3fccae4273 feat(i18n): add Simplified Chinese (zh-CN) translation 2026-09-11 23:21:38 +08:00
Anthony La 65a2f66344 feat: prepare Paperize v4.1.0 (#598) v4.1.0 2026-08-30 09:42:54 -07:00
renovate[bot] 93af870235 chore(deps): update dependency com.google.devtools.ksp to v2.3.11 (#592)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-18 01:04:25 +00:00
renovate[bot] 51f4ac310a chore(deps): update androidgradleplugin to v9.3.1 (#582)
Verified with 271 unit tests, lint, debug APK compilation, instrumentation APK compilation, and CodeQL.
2026-08-06 23:40:44 -07:00
Anthony La e651cdc248 Fix static wallpaper rendering and scheduling regressions (#583)
Correct natural-orientation static rendering, make Fill scrolling opt-in, add persistent pause/resume scheduling controls, and remove the unused network-state permission.
v4.0.3
2026-08-06 23:24:43 -07:00
renovate[bot] 4175b09196 fix(deps): update Hilt to 2.60.1 (#576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-06 22:28:28 -07:00
renovate[bot] 1edfcfd837 fix(deps): update kotlinx-coroutines-test to 1.11.0 (#575)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-06 22:28:25 -07:00
Anthony La 15c9b47131 fix: harden wallpaper engines for v4.0.2 (#571)
* fix: harden wallpaper engines for v4.0.2

* fix: restore launcher wallpaper shortcut

* fix: keep launcher shortcut entry point private

* chore: remove unused legacy dependencies

* ci: validate final audited tree
v4.0.2
2026-07-30 00:44:03 -07:00
Anthony La 87a69e748f fix: make notification intents explicitly targeted (#570)
Make notification destinations explicit in an analyzer-visible form while retaining immutable PendingIntent flags, resolving the high-severity CodeQL finding.
2026-07-29 23:16:40 -07:00
Anthony La 3b746ad354 ci: add Android-aware CodeQL analysis (#567)
Add pinned CodeQL analysis for GitHub Actions and Android Java/Kotlin builds, and restrict the release workflow token to read-only by default.
2026-07-29 23:04:12 -07:00
Anthony La 797a407f3c fix: harden wallpaper updates for v4.0.1 (#566) v4.0.1 2026-07-29 22:28:01 -07:00
renovate[bot] 145899d9a6 chore(deps): update github artifact actions (#563)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-29 22:20:18 -07:00
renovate[bot] af72b78a7b fix(deps): update dependency androidx.hilt:hilt-work to v1.4.0 (#562)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-29 22:19:34 -07:00
renovate[bot] 13367165e6 fix(deps): update dependency androidx.hilt:hilt-compiler to v1.4.0 (#560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-29 22:15:10 -07:00