android - Does BroadcastReceiver.onReceive always run in the UI thread? -


in app, create custom broadcastreceiver , register context manually via context.registerreceiver. have asynctask dispatches notifier-intents via context.sendbroadcast. intents sent non-ui worker thread, seems broadcastreceiver.onreceive (which receives said intents) runs in ui thread (which me). guaranteed or should not rely on that?

does broadcastreceiver.onreceive run in ui thread?

yes.


Comments

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -