rescheduleScheduled

Parameters

rescheduleScheduled

If the task was a BackgroundMode.WorkManagerScheduled, pass the original mode here so the schedule is re-registered correctly on boot.