title: Start JobService in foreground on Android
body: <p>I use a <code>com.firebase.jobdispatcher.JobService</code> to sync data, I start it by scheduling a <code>Job</code> using <code>FirebaseJobDispatcher</code>.</p>
  
  <p>Problem: I don't like the delay before it runs on my very first app start.</p>
  
  <p>Is there a way in which I can start the service, on Android O, as a foreground service (with a notification) the first time I use it? (instead of scheduling it as a job)</p>
  
  <p>I tried:</p>
  
  <pre><code>ContextCompat.startForegroundService(context, intent);
  </code></pre>
  
  <p>but this does not call the onCreate of the <code>JobService</code>.</p>