Anthonyy232 and Claude
49fecf56af
Fix queue handling when running out of wallpapers during validation
...
Improve robustness of wallpaper queue management:
**Problem:**
When the queue runs out DURING the validation loop (all remaining
wallpapers are invalid), the code returned an error without trying
to rebuild the queue. This could happen when:
- Album has both valid and invalid wallpapers
- Queue contains only invalid wallpapers after valid ones are used
- Validation loop dequeues all invalid wallpapers
- Queue becomes empty but is never rebuilt
**Solution:**
When getAndDequeueWallpaper returns null during validation loop:
1. Try rebuilding the queue (up to 2 attempts)
2. Continue validation loop to get wallpaper from rebuilt queue
3. Only return "no wallpapers" error after 2 rebuild attempts fail
**Edge Cases Handled:**
- Queue runs out due to invalid wallpapers being removed: rebuild and retry
- Album truly has no valid wallpapers: error after 2 rebuild attempts
- Shuffle mode: queue rebuilt with correct shuffle order
- Sequential mode: queue rebuilt with correct display order
This ensures the wallpaper changer continues working even when
encountering invalid wallpapers, and properly cycles through the
album whether shuffle is enabled or not.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-12-21 18:30:23 -08:00
Anthonyy232 and Claude
ca59cd8155
Hide toggle effect descriptions when enabled in non-individual scheduling
...
When wallpaper effects are toggled on and individual scheduling is off,
hide the description text for a cleaner UI:
- Grayscale effect
- Adaptive brightness
- Shuffle
Changes:
- Make SettingSwitch description parameter nullable
- Conditionally hide description when:
- Effect is enabled (checked = true)
- AND individual scheduling is OFF (separateSchedules = false)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-12-21 18:30:23 -08:00
Anthonyy232 and Claude
9820581723
Fix wallpaper scheduling and effects handling bugs
...
Multiple fixes for scheduling logic and UI behavior:
**Scheduling Fixes:**
- Add required albums validation before scheduling WorkManager jobs
- Only schedule when all required albums are selected based on enabled screens
- Prevent scheduling with incomplete album selection (both screens enabled requires both albums)
- Add hasRequiredAlbums check in HomeViewModel, WallpaperScreen, and BootReceiver
**Race Condition Fixes:**
- Fix toggleWallpaperChanger race condition with atomic updateEnableChanger()
- Prevent phantom album selections by using atomic DataStore updates
- Fix startup race condition - only cleanup stale album IDs after albums load
**Display Settings:**
- Separate scheduling changes from display changes (ScheduleSettings.kt)
- Add hasSchedulingChanges() - intervals, screen enable/disable, separate schedules
- Add hasDisplayChanges() - scaling, effects, adaptive brightness
- Reapply wallpaper immediately when display settings change (no reschedule needed)
- Prevent unnecessary WorkManager rescheduling for display-only changes
**Effect Sliders:**
- Fix effect sliders to respect separateSchedules setting
- Show synchronized slider when individual scheduling OFF
- Show separate sliders when individual scheduling ON
- Applies to brightness/darken, blur, and vignette sliders
**AlbumRefreshWorker:**
- Fix duplicate detection to check both direct and folder wallpapers
- Fix failure counting (increment failedCount on addWallpaper errors)
- Prevent false error logs and database constraint violations
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-12-21 18:30:23 -08:00
Anthonyy232
9079306f8f
Rewrite initial commit
2025-12-21 18:30:23 -08:00
Anthonyy232
66c3a4bb2e
Bump version
2025-09-15 12:47:15 -07:00
Anthonyy232
1b317798a4
fix effects not applying to lock when singular
...
https://github.com/Anthonyy232/Paperize/issues/393
2025-09-15 12:46:18 -07:00
Anthonyy232
95feb975ea
Bump version code
2025-09-13 16:06:10 -07:00
Anthonyy232
1f66b1c616
Updated dependencies and localization
2025-09-13 14:08:17 -07:00
Anthonyy232
c35b87a1da
Updated localization
2025-09-13 10:53:42 -07:00
Anthonyy232
b67734b8e1
Fix file picker not limiting user for large image imports
2025-09-12 11:42:30 -07:00
Anthonyy232
d124da717d
Fix crash on launch during db changes
2025-09-12 11:21:22 -07:00
Anthonyy232
40417b99b1
fix crash on adding through image virtual directory
...
https://github.com/Anthonyy232/Paperize/issues/374
2025-09-12 11:18:48 -07:00
Anthony La
ba7d29990c
Merge pull request #352 from Anthonyy232/renovate/androidx.lifecycle-lifecycle-runtime-compose-2.x
...
Update dependency androidx.lifecycle:lifecycle-runtime-compose to v2.9.3
2025-08-28 11:31:36 -07:00
Anthony La
1191872b3e
Merge pull request #351 from Anthonyy232/renovate/androidx.compose.material3-material3-1.x
...
Update dependency androidx.compose.material3:material3 to v1.4.0-beta03
2025-08-28 11:30:59 -07:00
Anthony La
ae5a533baf
Merge pull request #350 from Anthonyy232/renovate/androidx.compose-compose-bom-2025.x
...
Update dependency androidx.compose:compose-bom to v2025.08.01
2025-08-28 11:30:51 -07:00
Anthony La
e064c31175
Merge pull request #353 from Anthonyy232/renovate/androidx.lifecycle-lifecycle-runtime-ktx-2.x
...
Update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.9.3
2025-08-28 11:30:36 -07:00
Anthony La
8959e239fe
Merge pull request #354 from Anthonyy232/renovate/actions-checkout-5.x
...
Update actions/checkout action to v5
2025-08-28 11:30:28 -07:00
Anthony La
06c9566df4
Merge pull request #355 from Anthonyy232/renovate/actions-setup-java-5.x
...
Update actions/setup-java action to v5
2025-08-28 11:30:22 -07:00
Anthony La
108f5cd9c1
Merge pull request #356 from Anthonyy232/renovate/major-github-artifact-actions
...
Update actions/download-artifact action to v5
2025-08-28 11:30:14 -07:00
Anthony La
4554190912
Refactor CI/CD pipeline by removing lint job
2025-08-28 11:24:57 -07:00
Anthony La
b714ad8eb6
Change branch reference from 'main' to 'master'
2025-08-28 11:19:29 -07:00
Anthony La
6cd5c1eed3
Change default branch to 'main' and enhance artifact management
2025-08-28 11:19:14 -07:00
Anthony La
6784e2a2de
Change CI/CD branch from 'main' to 'master'
2025-08-28 11:09:36 -07:00
Anthony La
7f69debe1d
Update CI/CD workflow for Android release process
2025-08-28 11:01:37 -07:00
Anthonyy232
f8df7c2a6a
Fix master branch naming
2025-08-28 10:54:04 -07:00
Anthonyy232
b3fb2b82f2
Update CI/CD
2025-08-28 10:53:11 -07:00
Anthony La
04d0c57cb0
Add CI workflow for Android release
2025-08-28 10:48:57 -07:00
Anthonyy232
27b0fe62c8
Bump version code
2025-08-28 10:38:50 -07:00
Anthonyy232
096beb22d7
Bump version to 3.1.2
2025-08-28 10:37:50 -07:00
Anthonyy232
21766a5dc6
Fix app losing permission after some time https://github.com/Anthonyy232/Paperize/issues/349
2025-08-28 10:36:29 -07:00
Anthonyy232
fd5e8b63b2
Revert AGP
...
https://github.com/Anthonyy232/Paperize/issues/310#issuecomment-3226685236
2025-08-26 22:31:49 -07:00
Anthonyy232
2f514e6464
Remove unused AAR dependency
...
https://github.com/Anthonyy232/Paperize/issues/310#issuecomment-3226539843
2025-08-26 19:45:54 -07:00
Anthonyy232
74d2c614fd
Update version code
2025-08-26 18:31:55 -07:00
Anthonyy232
da0d8c45e6
Fixed bad decompressing of URi
2025-08-26 18:11:07 -07:00
Anthony La
e87d8116a6
Merge pull request #344 from Anthonyy232/renovate/hilt
...
Update hilt to v2.57.1
2025-08-26 18:04:42 -07:00
Anthony La
685c9d1981
Merge pull request #346 from Anthonyy232/renovate/actions-upload-pages-artifact-4.x
...
Update actions/upload-pages-artifact action to v4
2025-08-26 18:04:25 -07:00
Anthony La
81ae25035e
Merge pull request #347 from OasisAkari/skip_non-interactive
...
add skip in non-interactive state setting
2025-08-26 18:04:07 -07:00
Anthonyy232
0c2ca68dcd
Fixed last change time not updating from initial
2025-08-20 11:09:33 -07:00
Anthony La
e7c92eae71
Merge pull request #338 from Anthonyy232/renovate/androidx.compose.ui-ui-tooling-preview-1.x
...
Update dependency androidx.compose.ui:ui-tooling-preview to v1.9.0
2025-08-19 16:55:26 -07:00
Anthony La
7b26e323ac
Merge pull request #339 from Anthonyy232/renovate/androidx.core-core-ktx-1.x
...
Update dependency androidx.core:core-ktx to v1.17.0
2025-08-19 16:55:19 -07:00
Anthony La
b0069e3bc9
Merge pull request #340 from Anthonyy232/renovate/actions-checkout-5.x
...
Update actions/checkout action to v5
2025-08-19 16:55:13 -07:00
Anthony La
8582bc903b
Merge pull request #341 from Anthonyy232/renovate/gradle-9.x
...
Update dependency gradle to v9
2025-08-19 16:55:07 -07:00
Anthony La
8690284ac2
Merge pull request #342 from Anthonyy232/renovate/sh.calvin.reorderable-reorderable-3.x
...
Update dependency sh.calvin.reorderable:reorderable to v3
2025-08-19 16:55:02 -07:00
Anthonyy232
c9e485ac88
Fixed time drift issue when setting wallpaper https://github.com/Anthonyy232/Paperize/issues/343
2025-08-19 16:49:28 -07:00
Anthonyy232
83cc89e1b3
Updated gradle version
2025-08-19 15:22:58 -07:00
Anthony La
655c4a91e5
Merge pull request #336 from Anthonyy232/renovate/androidx.compose.ui-ui-test-manifest-1.x
...
Update dependency androidx.compose.ui:ui-test-manifest to v1.9.0
2025-08-18 09:32:18 -07:00
Anthony La
9880bac0c6
Merge pull request #309 from Anthonyy232/renovate/ksp-monorepo
...
Update dependency com.google.devtools.ksp to v2.2.10-2.0.2
2025-08-18 09:31:46 -07:00
Anthony La
0f87776d16
Merge pull request #337 from Anthonyy232/renovate/androidx.compose.ui-ui-tooling-1.x
...
Update dependency androidx.compose.ui:ui-tooling to v1.9.0
2025-08-18 09:31:37 -07:00
Anthony La
bc1eb7f996
Merge pull request #334 from Anthonyy232/renovate/androidx.compose.ui-ui-graphics-1.x
...
Update dependency androidx.compose.ui:ui-graphics to v1.9.0
2025-08-18 09:31:22 -07:00
Anthony La
8366965a03
Merge pull request #330 from Anthonyy232/renovate/androidx.compose.animation-animation-1.x
...
Update dependency androidx.compose.animation:animation to v1.9.0
2025-08-18 09:31:08 -07:00
Anthony La
904f77191c
Merge pull request #315 from Anthonyy232/renovate/com.github.skydoves-landscapist-glide-2.x
...
Update dependency com.github.skydoves:landscapist-glide to v2.5.2
2025-08-18 09:31:01 -07:00
Anthony La
dabf63fc58
Merge pull request #331 from Anthonyy232/renovate/androidx.compose.foundation-foundation-1.x
...
Update dependency androidx.compose.foundation:foundation to v1.9.0
2025-08-18 09:28:28 -07:00
Anthony La
1da95e09b5
Merge pull request #332 from Anthonyy232/renovate/androidx.compose.material-material-1.x
...
Update dependency androidx.compose.material:material to v1.9.0
2025-08-18 09:28:19 -07:00
Anthony La
ad195a985e
Merge pull request #333 from Anthonyy232/renovate/androidx.compose.ui-ui-1.x
...
Update dependency androidx.compose.ui:ui to v1.9.0
2025-08-18 09:28:11 -07:00
Anthony La
0e06584780
Merge pull request #335 from Anthonyy232/renovate/androidx.compose.ui-ui-test-junit4-1.x
...
Update dependency androidx.compose.ui:ui-test-junit4 to v1.9.0
2025-08-18 09:27:47 -07:00
Anthony La
a6f44ecad5
Merge pull request #329 from Anthonyy232/renovate/androidx.compose-compose-bom-2025.x
...
Update dependency androidx.compose:compose-bom to v2025.08.00
2025-08-18 09:27:36 -07:00
Anthony La
d527fa9a80
Merge pull request #320 from Anthonyy232/renovate/gradle-8.x
...
Update dependency gradle to v8.14.3
2025-08-18 09:26:52 -07:00
Anthony La
ffe360ee80
Merge pull request #316 from Anthonyy232/renovate/androidx.compose.material3-material3-1.x
...
Update dependency androidx.compose.material3:material3 to v1.4.0-beta02
2025-08-18 09:26:25 -07:00
Anthony La
d77f2fe8df
Merge pull request #308 from Anthonyy232/renovate/kotlin-monorepo
...
Update kotlin monorepo to v2.2.10
2025-08-18 09:25:51 -07:00
Anthonyy232
2a3821e1e7
Improved robustness of image picker for album view screen
2025-08-15 09:40:03 -07:00
Anthonyy232
8b61b1d719
Improved robustness of image picker
2025-08-15 09:38:46 -07:00
Anthonyy232
431df5c334
Fixed next and last time label swapped based on temporal locality https://github.com/Anthonyy232/Paperize/issues/327
2025-08-15 09:35:46 -07:00
Anthonyy232
2b49a01eb4
Added setting to prevent changing wallpaper during landscape mode https://github.com/Anthonyy232/Paperize/issues/328
2025-08-14 23:33:40 -07:00
Anthonyy232
3bc438a06d
Migrated blur to rendereffect and min version to 31
2025-08-13 19:50:49 -07:00
Anthonyy232
57d6b7dc8e
Fixed broken blur effect using home percentage for all cases https://github.com/Anthonyy232/Paperize/issues/322
2025-08-12 17:05:12 -07:00
Anthonyy232
5d87257516
Fixed scanning for new wallpapers/folders https://github.com/Anthonyy232/Paperize/issues/326
2025-08-11 11:28:29 -07:00
Anthonyy232
cb9ab7d1af
Fixed crash due to interpreting string as int without cast https://github.com/Anthonyy232/Paperize/issues/323
2025-08-07 11:28:23 -07:00
Anthony La
598f00c536
Merge pull request #305 from Anthonyy232/renovate/gradle-8.x
...
Update dependency gradle to v8.14.2
2025-06-24 10:39:51 -07:00
Anthony La
ba1b139f40
Merge pull request #304 from Anthonyy232/renovate/ksp-monorepo
...
Update dependency com.google.devtools.ksp to v2.1.21-2.0.2
2025-06-24 10:31:17 -07:00
Anthony La
15ba07198d
Merge pull request #288 from Anthonyy232/renovate/ksp-monorepo
...
Update dependency com.google.devtools.ksp to v2.1.21-2.0.1
2025-05-14 18:21:18 -07:00
Anthony La
39fff2bfc9
Merge pull request #267 from Anthonyy232/renovate/com.google.dagger-hilt-android-2.x
...
Update dependency com.google.dagger:hilt-android to v2.56.2
2025-05-14 18:21:06 -07:00
Anthony La
8339c2d86b
Merge pull request #287 from Anthonyy232/renovate/com.google.code.gson-gson-2.x
...
Update dependency com.google.code.gson:gson to v2.13.1
2025-05-14 18:20:54 -07:00
Anthony La
25205d579b
Merge pull request #268 from Anthonyy232/renovate/com.google.dagger-hilt-android-compiler-2.x
...
Update dependency com.google.dagger:hilt-android-compiler to v2.56.2
2025-05-14 18:19:26 -07:00
Anthony La
32c904f504
Merge pull request #285 from Anthonyy232/renovate/com.github.skydoves-landscapist-glide-2.x
...
Update dependency com.github.skydoves:landscapist-glide to v2.4.8
2025-05-14 18:19:15 -07:00
Anthony La
9e3a62a283
Merge pull request #286 from Anthonyy232/renovate/com.google.accompanist-accompanist-permissions-0.x
...
Update dependency com.google.accompanist:accompanist-permissions to v0.37.3
2025-05-14 18:19:07 -07:00
Anthony La
050e172949
Merge pull request #266 from Anthonyy232/renovate/hilt
...
Update dependency com.google.dagger.hilt.android to v2.56.2
2025-05-14 18:18:55 -07:00
Anthony La
26f51acc0c
Merge pull request #277 from Nikster3k/master
...
Add scrollable Column to AlbumBottomSheet
2025-04-28 19:14:37 -07:00
Anthony La
4771eaaa7e
Merge pull request #278 from Anthonyy232/docFileCompat_test
...
Improve reliability of alarm manager
2025-04-25 23:30:07 -07:00
Anthony La
7c77f4a75e
Merge pull request #204 from Anthonyy232/renovate/gradle-8.x
...
Update dependency gradle to v8.14-rc-1
2025-04-12 00:51:24 -07:00
Anthony La
a36403ee14
Merge pull request #257 from Anthonyy232/renovate/ksp-monorepo
...
Update dependency com.google.devtools.ksp to v2.1.20-2.0.0
2025-04-12 00:51:13 -07:00
Anthony La
a8989b0810
Merge pull request #238 from DevBhalavat/master
...
Update CurrentAndNextChange.kt
2025-01-22 18:03:34 -08:00
Anthony La
26f1e17b7c
Refactored album view and album logic
2024-11-14 22:18:23 -08:00
Anthony La
47fa7563c0
Refactored folder view
2024-11-13 22:06:59 -08:00
Anthony La
f2fc197df7
Added sorting
2024-11-13 21:30:14 -08:00
Anthony La
647ebea95b
Fixed scoping for service
2024-11-04 11:06:43 -08:00
Anthony La
eebc4d4ee4
Fixed slow updates when wallpaper changing
2024-11-04 11:02:11 -08:00
Anthony La
e1ff89d3d9
chore/Refactor WallpaperScreenViewModel.kt and selected album for flow usage
2024-11-04 10:48:13 -08:00
Anthony La
11d72a2336
chore/Refactor usage of flow for settings viewmodel
2024-11-04 10:34:53 -08:00
Anthony La
68e6544da8
chore/Refactor code
2024-11-03 16:53:14 -08:00
Anthony La
a26f7e30a4
Fixed staggered alarms
2024-11-03 16:53:14 -08:00
Anthony La
b989a47b9e
Fixed staggered alarms
2024-11-03 16:53:14 -08:00
Anthony La
a7f98989b3
Merge pull request #220 from Anthonyy232/renovate/composebom
...
Update dependency androidx.compose:compose-bom to v2024.10.01
2024-10-31 12:22:16 -07:00
Anthony La
3089841a05
Merge pull request #212 from Anthonyy232/renovate/animation
...
Update dependency androidx.compose.animation:animation to v1.7.5
2024-10-31 12:01:30 -07:00
Anthony La
eeabdd24fd
Merge pull request #213 from Anthonyy232/renovate/foundation
...
Update dependency androidx.compose.foundation:foundation to v1.7.5
2024-10-31 12:01:23 -07:00
Anthony La
8c82ed7d8c
Merge pull request #214 from Anthonyy232/renovate/material3
...
Update dependency androidx.compose.material3:material3 to v1.3.1
2024-10-31 12:01:16 -07:00
Anthony La
136432b97b
Merge pull request #215 from Anthonyy232/renovate/workruntimektx
...
Update dependency androidx.work:work-runtime-ktx to v2.10.0
2024-10-31 11:58:24 -07:00
Anthony La
9bc58aa9fe
Merge pull request #216 from Anthonyy232/renovate/lifecycleruntimektx
...
Update lifecycleRuntimeKtx to v2.8.7
2024-10-31 11:58:17 -07:00
Anthony La
74e3fd8878
Merge pull request #217 from Anthonyy232/renovate/material
...
Update material to v1.7.5
2024-10-31 11:58:02 -07:00
Anthony La
c857f4a1e7
Merge pull request #218 from Anthonyy232/renovate/ui
...
Update ui to v1.7.5
2024-10-31 11:57:53 -07:00
Anthony La
fb853086e6
Merge pull request #219 from Anthonyy232/renovate/corektx
...
Update dependency androidx.core:core-ktx to v1.15.0
2024-10-31 11:57:47 -07:00