Be sure to hold the window manager lock around *Lw() methods

Change-Id: Ia0271df34b084bf1d3dc39373dd66b6afe96c379
This commit is contained in:
Chris Tate
2010-10-11 20:33:44 -07:00
parent 26b6df74b9
commit 5994359f30

View File

@@ -804,7 +804,9 @@ public class WindowManagerService extends IWindowManager.Stub
// stop intercepting input
mDragState.unregister();
mInputMonitor.updateInputWindowsLw();
synchronized (mWindowMap) {
mInputMonitor.updateInputWindowsLw();
}
// free our resources and drop all the object references
mDragState.reset();