Does BroadcastReceiver.onReceive always run in the UI thread?
<p>in my App, I create a custom <code>BroadcastReceiver</code> and register it to my Context manually via <code>Context.registerReceiver</code>. I also have an <code>AsyncTask</code> that dispatches notifier-Intents via <code>Context.sendBroadcast</code>. The intents are sent from a non-UI worker thread, but it seems that <code>BroadcastReceiver.onReceive</code> (which receives said Intents) always runs in the UI thread (which is good for me). Is this guaranteed or should I not rely on that?</p>
