Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c2450fb authored by Jeff Brown's avatar Jeff Brown
Browse files

Fix bug in split touches.

Cherry-picked down to master.

Change-Id: I786761bd6aecc021ae22d8c9a022324f3a9980d1
parent 95763e57
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -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) {