diff options
| author | 2010-10-15 16:20:51 -0700 | |
|---|---|---|
| committer | 2010-10-15 16:20:51 -0700 | |
| commit | b13d7b5cf0738a79bb7acdda3060f390deaa58cd (patch) | |
| tree | 7b40e4ea2eb89758423bb5bf9f693adbe9d57d2c /libs/ui/InputDispatcher.cpp | |
| parent | d9dd44d867315478bbebfbe69bb952ea8138ac4e (diff) | |
Fix a native crash in input dispatcher when windows are removed.
Bug: 3101826
Change-Id: I040838600a6105c8d9f3235025dc0a7b5b27da2e
Diffstat (limited to 'libs/ui/InputDispatcher.cpp')
| -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 41123284f9..92daee19ea 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);              }          }  |