Which thread invokes SensorEventListener.onSensorChanged
<p>From my records it seems that SensorEventListener.onSensorChanged callback is 
called by the same thread that registered the callback. I.e there must 
be some message-queue synchronization going on in the background which 
allows the activitys UI-Thread to handle the callbacks. </p>

<p>That leads to my question: Is there a need to synchronize 
SensorEventListener.onSensorChanged with the activitys UI-thread, 
assuming that the activitys UI-thread registered the 
SensorEventListener?</p>

<p>I cannot find any documentation references, but can see various examples calling invalidate() unsychronized or synchronize the entire callback.</p>

<p>I used something along the lines of </p>

<pre><code>Log.i(TAG, "" + Thread.currentThread().getId()); 
</code></pre>

<p>to retrieve threading information. </p>

<p>I'm running android 2.1 update1. </p>

<p>Best regards, 
Christoph </p>
