How to determine if an activity within the same process is the current activity from background thread?
<p>Is there a way for a background thread to determine if an activity
within the same process is the current activity?</p>

<p>Any pointer will be useful.</p>
