The natural way to start a service when a phone starts up is by declaring a receiver for android.intent.action.BOOT_COMPLETED in an application's manifest.
But now with the new private space feature, it can be helpful to be able to implement similar functionality within the private space. Unfortunately, an application within the private space doesn't receive BOOT_COMPLETED.
There are a few other broadcasts that seem applicable, android.intent.action.[USER_STARTED|USER_STARTING|USER_UNLOCKED|PROFILE_ACCESSIBLE], however they only fire for registered receivers, not manifest declared. Further, they seem to broadcast only to the main user, not the private users.
Does anybody know how to get something to run at the time when a private space profile is unlocked?