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

Commit 96fe6421 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou Committed by android-build-merger
Browse files

DO NOT MERGE Remove window obscurement information.

am: c3c2ed94

Change-Id: Ib9552165e9b1c2dfcd235d1f7930d85c258b2ece
parents 5a7eb970 c3c2ed94
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -1239,13 +1239,10 @@ int32_t InputDispatcher::findTouchedWindowTargetsLocked(nsecs_t currentTime,

                if (maskedAction == AMOTION_EVENT_ACTION_DOWN
                        && (flags & InputWindowInfo::FLAG_WATCH_OUTSIDE_TOUCH)) {
                    int32_t outsideTargetFlags = InputTarget::FLAG_DISPATCH_AS_OUTSIDE;
                    if (isWindowObscuredAtPointLocked(windowHandle, x, y)) {
                        outsideTargetFlags |= InputTarget::FLAG_WINDOW_IS_OBSCURED;
                    }

                    mTempTouchState.addOrUpdateWindow(
                            windowHandle, outsideTargetFlags, BitSet32(0));
                            windowHandle, InputTarget::FLAG_DISPATCH_AS_OUTSIDE,
                            BitSet32(0));
                }
            }
        }