commit | 1aaf351f6bbaa0b1dc6c08bd5a590e1930e2ef07 | [log] [tgz] |
---|---|---|
author | Owen Lin <owenlin@google.com> | Thu Apr 01 15:42:33 2010 +0800 |
committer | Owen Lin <owenlin@google.com> | Thu Apr 08 09:10:37 2010 +0800 |
tree | ea265cb602ca36bcbbf5dc05ea3ef2e959ef686e | |
parent | 82544b4564c079ece1a9065d19add36b2635bb8f [diff] |
Fix the ANR after switching between Camera and Camcorder. The reason of this bug is we try to queue an event in the GLThread, but the thread has already dead when the GLRootView detacched from the window. So, we are waiting a task that will never be executed. I have seen a similar ANR in GLRootView.onTouch(), so I also fix the that issue in this change. Bug: 2559472 Change-Id: I49efd9ca01f1f6cce73320c31448ebaa7687469f