Prevent activity from restarting on phone boot?
<p>If a user reboots their phone while my activity is in the foreground, after the phone reboots, the activity automatically pops up again. I don't want this to happen because none of the extra data I pass to the activity is saved, so the activity does not have the correct display.</p>

<p>Apparently the activity is started even before my BroadcastReceiver that has an intent-filter with <code>android.intent.action.BOOT_COMPLETED</code> starts.</p>

<p>How would I go about preventing the activity from automatically starting when the phone boots?</p>

<p><strong>Edit:</strong> I use the <code>android.intent.category.HOME</code> category in my intent filter for my activity, which apparently is the reason for it starting up on reboot.</p>
