So, it doesn't have to perform smooth animation at 60 fps. That’s why it can run perform any task for the longer period of time than the activity
How to handle background services in ANDROID O?
Keval Patel
1.4K18

First of all, great article ☺

However, this sentence is somewhat confusing. You mention ’60 fps’, 'that is why’ and 'longer period of time’:

If you mean that tasks don’t need to finish really fast, within 16ms, then I think you’re wrong. A Service shares the main UI thread with the Activities in its process. Slow tasks executed by a Service can cause 'jank' in your app’s UI. To avoid this, one can use an InternetService.

If you mean that Services can outlive an Activity’s lifecycle, then you’re correct. A Service can hang around a little longer ☺