title: java.lang.IllegalStateException Error in Android 9
body: <p>Recently I am getting the following exception in Google Play console for the  Android version 9 users (users who have recently upgraded to ver 9 from ver 8).
  Seems the exception is related to system class.
  Does someone know the reason for this?</p>
  
  <blockquote>
    <p>java.lang.RuntimeException:    at
    android.app.ActivityThread.handleReceiver (ActivityThread.java:3400)<br>
    at android.app.ActivityThread.access$1200 (ActivityThread.java:200)<br>
    at android.app.ActivityThread$H.handleMessage
    (ActivityThread.java:1671)   at android.os.Handler.dispatchMessage
    (Handler.java:106)   at android.os.Looper.loop (Looper.java:193)   at
    android.app.ActivityThread.main (ActivityThread.java:6762)   at
    java.lang.reflect.Method.invoke (Method.java)   at
    com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run
    (RuntimeInit.java:493)   at com.android.internal.os.ZygoteInit.main
    (ZygoteInit.java:858) Caused by: java.lang.IllegalStateException:<br>
    at android.app.ContextImpl.startServiceCommon (ContextImpl.java:1577) 
    at android.app.ContextImpl.startService (ContextImpl.java:1532)   at
    android.content.ContextWrapper.startService (ContextWrapper.java:664) 
    at android.content.ContextWrapper.startService
    (ContextWrapper.java:664)   at
    android.support.v4.content.WakefulBroadcastReceiver.startWakefulService
    (WakefulBroadcastReceiver.java:89)   at
    com.google.firebase.iid.FirebaseInstanceIdInternalReceiver.c
    (FirebaseInstanceIdInternalReceiver.java:11)   at
    com.google.firebase.iid.FirebaseInstanceIdInternalReceiver.a
    (FirebaseInstanceIdInternalReceiver.java:72)   at
    com.google.firebase.iid.FirebaseInstanceIdInternalReceiver.onReceive
    (FirebaseInstanceIdInternalReceiver.java:25)   at
    android.app.ActivityThread.handleReceiver (ActivityThread.java:3391)<br>
    at android.app.ActivityThread.access$1200 (ActivityThread.java:200)<br>
    at android.app.ActivityThread$H.handleMessage
    (ActivityThread.java:1671)   at android.os.Handler.dispatchMessage
    (Handler.java:106)   at android.os.Looper.loop (Looper.java:193)   at
    android.app.ActivityThread.main (ActivityThread.java:6762)   at
    java.lang.reflect.Method.invoke (Method.java)   at
    com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run
    (RuntimeInit.java:493)   at com.android.internal.os.ZygoteInit.main
    (ZygoteInit.java:858)</p>
  </blockquote>