commit | 84293fb9625a3ab7d7d302436bea05441b8d7316 | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Fri Jun 17 16:35:35 2011 -0700 |
committer | Jamie Gennis <jgennis@google.com> | Fri Jun 17 16:42:46 2011 -0700 |
tree | ce9ffafd7371a2f94420aea7df133dd54c7ba9eb | |
parent | f71e5469441286c6f466043e64a7f6492557cbd9 [diff] |
SurfaceTexture: attach to Dalvik when needed. This change fixes a bug in the SurfaceTexture JNI where a thread that the Dalvik VM was not aware of calls the onFrameAvailable callback. When this happens the callback needs to first attach the thread to the VM before attempting to post the onFrameAvailable event for Java code to handle. Change-Id: I6a5470c32611ea6f38e9167779450f50635cabd3