Registering BOOT_COMPLETED receiver in Android 8 : <p>We are about to update our App Android API 26. In the documentation about <a href="https://developer.android.com/about/versions/oreo/background.html#broadcasts" rel="noreferrer">Broadcast receiver</a> it says that </p>

<blockquote>
  <p>Apps that target Android 8.0 or higher can no longer register broadcast receivers for implicit broadcasts in their manifest</p>
</blockquote>

<p>Implicit broadcast receivers are described as </p>

<blockquote>
  <p>a broadcast that does not target that app specifically. For example, ACTION_PACKAGE_REPLACED</p>
</blockquote>

<p>So I assume that <code>android.intent.action.BOOT_COMPLETED</code> is considered an implicit receiver.</p>

<p>Further it states that implicit receivers must be registered within an <code>Activity</code> by using <code>Context.registerReceiver()</code>. But that wouldn't make sense for a receiver, which is listening for the <code>BOOT_COMPLETED</code> event.</p>

<p>What is the proper way to handle this? Can i keep this receiver in my manifest?</p>
