Fix potential deadlock caused by RenderScript

If the context is created with RS_CONTEXT_SYNCHRONOUS flag,
there is no thread to join.

Unfortunately, deadlock can occur if mThreadId has a
joinable thread ID since mThreadId is uninitialized.

Change-Id: I0315237a41d3ca33f0aa691c7de1ae29d2c02b57
1 file changed