title: How Android handles "called from wrong thread" exception
body: <p>I'm curious how Android can handle situation when worker thread tries to change something on UI. My guess is that there is some queue of messages (but different one from UI queue wich is managed by handler + looper) and the system checks thread id when tries to post a message. So, I'll be highly appreciate for any hints.</p>