Open camgraff opened 2 years ago
@camgraff, thank you for this PR. It does seem to have quite a few moving parts so I would like to review it or at least understand it in a bit more detail. Unfortunately I do not have time for that right now so it's going to take some time for this to be merged.
Since adding the ability to pin tasks as notifications in #1170 I've found a couple issues with the current implementation. Namely:
adb shell am force-stop nl.mpcjanssen.simpletask.debug
.Solution: Create the notifications from a
Service
and callstartForeground
.Solution: Make the task IDs persistent by storing them in
SharedPreferences
.