Skip to content

Commit

Permalink
Refactored app flow and album logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthonyy232 committed Jan 24, 2025
1 parent 9be3a9c commit 7f039fa
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,19 @@ class HomeWallpaperService: Service() {
if (intent != null) {
when (intent.action) {
Actions.START.toString() -> {
Log.d("PaperizeWallpaperChanger", "Starting home start wallpaper service")
homeInterval = intent.getIntExtra("homeInterval", SettingsConstants.WALLPAPER_CHANGE_INTERVAL_DEFAULT)
lockInterval = intent.getIntExtra("lockInterval", SettingsConstants.WALLPAPER_CHANGE_INTERVAL_DEFAULT)
scheduleSeparately = intent.getBooleanExtra("scheduleSeparately", false)
type = intent.getIntExtra("type", Type.SINGLE.ordinal)
workerTaskStart()
}
Actions.UPDATE.toString() -> {
Log.d("PaperizeWallpaperChanger", "Starting home update wallpaper service")
workerTaskUpdate()
}
Actions.REFRESH.toString() -> {
Log.d("PaperizeWallpaperChanger", "Starting home refresh wallpaper service")
workerTaskRefresh()
}
}
Expand Down

0 comments on commit 7f039fa

Please sign in to comment.