Skip to content

Commit 7f039fa

Browse files
committed
Refactored app flow and album logic
1 parent 9be3a9c commit 7f039fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/com/anthonyla/paperize/feature/wallpaper/wallpaper_service/HomeWallpaperService.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,19 @@ class HomeWallpaperService: Service() {
7171
if (intent != null) {
7272
when (intent.action) {
7373
Actions.START.toString() -> {
74+
Log.d("PaperizeWallpaperChanger", "Starting home start wallpaper service")
7475
homeInterval = intent.getIntExtra("homeInterval", SettingsConstants.WALLPAPER_CHANGE_INTERVAL_DEFAULT)
7576
lockInterval = intent.getIntExtra("lockInterval", SettingsConstants.WALLPAPER_CHANGE_INTERVAL_DEFAULT)
7677
scheduleSeparately = intent.getBooleanExtra("scheduleSeparately", false)
7778
type = intent.getIntExtra("type", Type.SINGLE.ordinal)
7879
workerTaskStart()
7980
}
8081
Actions.UPDATE.toString() -> {
82+
Log.d("PaperizeWallpaperChanger", "Starting home update wallpaper service")
8183
workerTaskUpdate()
8284
}
8385
Actions.REFRESH.toString() -> {
86+
Log.d("PaperizeWallpaperChanger", "Starting home refresh wallpaper service")
8487
workerTaskRefresh()
8588
}
8689
}

0 commit comments

Comments
 (0)