title: IntentService + startForeground vs JobIntentService
body: <p>Since Android Oreo background execution limits, the docs recommend to refactor <code>IntentService</code>s to <code>JobIntentService</code>.</p>
  
  <p><a href="https://developer.android.com/about/versions/oreo/background" rel="noreferrer">https://developer.android.com/about/versions/oreo/background</a></p>
  
  <p><code>JobIntentService</code> runs immediately as an <code>IntentService</code> below Oreo, but schedules a Job on Oreo+</p>
  
  <p><a href="https://developer.android.com/reference/android/support/v4/app/JobIntentService" rel="noreferrer">https://developer.android.com/reference/android/support/v4/app/JobIntentService</a></p>
  
  <p>In what cases would it make sense to run a normal <code>IntentService</code> as a foreground <code>Service</code> with a persistent notification, and when is a <code>JobIntentService</code> better?</p>
  
  <p>One downside I can see in <code>JobIntentService</code> is that it doesn't start immediately.</p>