am 36e65ffd: Merge "Fix a native crash in input dispatcher when windows are removed." into gingerbread
Merge commit '36e65ffd16f2610dcec702e23d596fe4eb6b6c4a' into gingerbread-plus-aosp * commit '36e65ffd16f2610dcec702e23d596fe4eb6b6c4a': Fix a native crash in input dispatcher when windows are removed.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user