Merge change Ia4424950 into eclair

* changes:
  Fix stupid bug in GLThreadManager implementation.
This commit is contained in:
Android (Google) Code Review
2009-11-06 19:00:54 -05:00

View File

@ -1281,8 +1281,8 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback
public void start(GLThread thread) throws InterruptedException {
GLThread oldThread = null;
synchronized(this) {
mMostRecentGLThread = thread;
oldThread = mMostRecentGLThread;
mMostRecentGLThread = thread;
}
if (oldThread != null) {
synchronized(oldThread) {