DO NOT MERGE Remove window obscurement information. am: c3c2ed94ff
am: 96fe6421f6
Change-Id: Ia2ce3f8b95b578253c5336407ae85880d3d317f4
This commit is contained in:
@@ -1226,13 +1226,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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user