summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiarhei Vishniakou <svv@google.com>2017-08-10 19:40:02 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-08-10 19:40:02 +0000
commit88855f8de792ecc64297f9a0088d3c8d5e0622ff (patch)
tree34cb96f461bbdaa49da2b95937cf89224a05ae39
parent9e5585930a7a540ae54c6c36446d7e6e909b2301 (diff)
parentcd71708ecaef9c71780d530c36d510df0abdc4cd (diff)
downloadnative-88855f8de792ecc64297f9a0088d3c8d5e0622ff.tar.gz
DO NOT MERGE Remove window obscurement information. am: 5508ca2c19 am: 3847972ad2
am: cd71708eca Change-Id: I7f55cd96dbf257b25e5b1c6d69d9ae65d0947598
-rw-r--r--services/inputflinger/InputDispatcher.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/services/inputflinger/InputDispatcher.cpp b/services/inputflinger/InputDispatcher.cpp
index 3f69d49f0b..e48c53a08e 100644
--- a/services/inputflinger/InputDispatcher.cpp
+++ b/services/inputflinger/InputDispatcher.cpp
@@ -1224,15 +1224,8 @@ 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;
- } else if (isWindowObscuredLocked(windowHandle)) {
- outsideTargetFlags |= InputTarget::FLAG_WINDOW_IS_PARTIALLY_OBSCURED;
- }
-
mTempTouchState.addOrUpdateWindow(
- windowHandle, outsideTargetFlags, BitSet32(0));
+ windowHandle, InputTarget::FLAG_DISPATCH_AS_OUTSIDE, BitSet32(0));
}
}
}