
apparently the "Receiving a broadcast" exception above doesn't include the _COMPLETED broadcast, because we still get the IllegalStateException. Starting a VpnService before the VPN app promotes itself to the foreground.Executing a PendingIntent from a notification.Receiving a broadcast, such as an SMS/MMS message.Handling a high-priority Firebase Cloud Messaging (FCM) message.An app is placed on the whitelist when it handles a task that's visible to the user, such as:


While an app is on the whitelist, it can launch services without limitation, and its background services are permitted to run. Under certain circumstances, a background app is placed on a temporary whitelist for several minutes.

Our BootstrapService (which is actually a BroadcastReceiver) is triggered by a _COMPLETED Intent on reboot, which then tries to reschedule the reminders by running the TripService with the .SCHEDULE Intent. Not allowed to start service Intent Īt (ContextImpl.java:1595)Īt (ContextImpl.java:1550)Īt (ContextWrapper.java:664)Īt .TripService.scheduleAll(TripService.java:231)Īt .BootstrapService.onReceive(BootstrapService.java:33)Īt (ActivityThread.java:3507)Īt $1400(ActivityThread.java:207)Īt $H.handleMessage(ActivityThread.java:1759)Īt android.os.Handler.dispatchMessage(Handler.java:106)Īt android.os.Looper.loop(Looper.java:193)Īt (ActivityThread.java:6863)Īt .invoke(Native Method)Īt .RuntimeInit$n(RuntimeInit.java:537)Īt .ZygoteInit.main(ZygoteInit.java:858) : Unable to start receiver .BootstrapService: :
