diff options
author | Jeff Brown <jeffbrown@google.com> | 2010-10-15 16:20:51 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2010-10-15 16:20:51 -0700 |
commit | b13d7b5cf0738a79bb7acdda3060f390deaa58cd (patch) | |
tree | 7b40e4ea2eb89758423bb5bf9f693adbe9d57d2c /libs | |
parent | d9dd44d867315478bbebfbe69bb952ea8138ac4e (diff) | |
download | frameworks_native-b13d7b5cf0738a79bb7acdda3060f390deaa58cd.zip frameworks_native-b13d7b5cf0738a79bb7acdda3060f390deaa58cd.tar.gz frameworks_native-b13d7b5cf0738a79bb7acdda3060f390deaa58cd.tar.bz2 |
Fix a native crash in input dispatcher when windows are removed.
Bug: 3101826
Change-Id: I040838600a6105c8d9f3235025dc0a7b5b27da2e
Diffstat (limited to 'libs')
-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 4112328..92daee1 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); } } |