Go to previous activity from BroadcastReceiver?
<p>I need to close the current activity from a broadcast receiver. I'm not sure how to call finish from it, maybe there is a way to simulate a "Back" key keypress. Any implementation will be fine as long as it does the job.</p>

<pre><code>@Override
public void onReceive(Context context, Intent intent) {
// How can I finish the current activity here?
}
</code></pre>
