Dispatching this task is only a way to prevent IPDL methods to be called from outside the ImageBridge thread. It seems that we are calling it from within this thread, in which case we should not reschedule.
Created attachment 753191 [details] [diff] [review] Check the running thread before postTask PostTask to the current running thread cause longer latency for real-time application like Camera. Just PostTask only when we are not running on the ImageBridge thread.
Please add a well formatted commit header message in the patch before landing
Created attachment 753547 [details] [diff] [review] Add commit comment Add commit comment before landing, carry r+