While converting an app to be ready for Android Oreo, I read the docs on JobIntentService
over here.
In there I find (important part emphasised):
When running as a pre-O service, the normal service execution semantics apply: [...] When running as a Job, the typical JobService execution time limit will apply, after which the job will be stopped (cleanly, not by killing the process) and rescheduled to continue its execution later.
If I look at the documented limitations there is no word about any execution time limits. Also JobScheduler
does not mention anything.
- Is this a time limit I should simply not be concerned about?
- Is it undocumented?
- Or is the execution time limit not/no longer existing?
- Or will I have to redesign my services in a way that they can be interrupted and restarted at any given point in time? Best practices?