diff options
| author | 2010-10-15 16:20:51 -0700 | |
|---|---|---|
| committer | 2010-10-15 16:20:51 -0700 | |
| commit | af48cae6e59f579c20c3ecd08623214896e7923e (patch) | |
| tree | c9835705bcef57639a6b6d3838b8bbce0606f202 | |
| parent | 2d3f159aa9622e05a18e7f93cecd57ad673955ae (diff) | |
Fix a native crash in input dispatcher when windows are removed.
Bug: 3101826
Change-Id: I040838600a6105c8d9f3235025dc0a7b5b27da2e
| -rw-r--r-- | libs/ui/InputDispatcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ui/InputDispatcher.cpp b/libs/ui/InputDispatcher.cpp index 41123284f977..92daee19eaec 100644 --- a/libs/ui/InputDispatcher.cpp +++ b/libs/ui/InputDispatcher.cpp @@ -2536,9 +2536,9 @@ void InputDispatcher::setInputWindows(const Vector<InputWindow>& inputWindows) { #if DEBUG_FOCUS LOGD("Touched window was removed: %s", touchedWindow.channel->getName().string()); #endif - mTouchState.windows.removeAt(i); synthesizeCancelationEventsForInputChannelLocked(touchedWindow.channel, InputState::CANCEL_POINTER_EVENTS, "touched window was removed"); + mTouchState.windows.removeAt(i); } } |