title: Start context.startService(intent) on Android Pie
body: <p>I start a service on my activity's onResume, it worked fine on oreo but lately I have been seeing crashes for Android P, which says "Unable to resume Activity.... Not allowed to start service intent ... app is in background..". Has anyone seen this before and where able to apply fix, any input would be much appreciated.</p>
  
  <pre><code>@Override
  public void onResume() {
      super.onResume();
      Timber.v("onResume");
      Intent intent = new Intent(context, Token.class);
      intent.setAction(ACTION_FETCH_TOKEN);
      context.startService(intent);
  }
  </code></pre>
  
  <p>just to add more context, I have not been able to reproduce the crash myself.</p>