Merge "Fix bug in split touches." into gingerbread
This commit is contained in:
@ -1070,7 +1070,8 @@ int32_t InputDispatcher::findTouchedWindowTargetsLocked(nsecs_t currentTime,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Figure out whether splitting will be allowed for this window.
|
// Figure out whether splitting will be allowed for this window.
|
||||||
if (newTouchedWindow->layoutParamsFlags & InputWindow::FLAG_SPLIT_TOUCH) {
|
if (newTouchedWindow
|
||||||
|
&& (newTouchedWindow->layoutParamsFlags & InputWindow::FLAG_SPLIT_TOUCH)) {
|
||||||
// New window supports splitting.
|
// New window supports splitting.
|
||||||
isSplit = true;
|
isSplit = true;
|
||||||
} else if (isSplit) {
|
} else if (isSplit) {
|
||||||
|
Reference in New Issue
Block a user