diff options
author | Siarhei Vishniakou <svv@google.com> | 2017-08-10 19:33:00 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-08-10 19:33:00 +0000 |
commit | cd71708ecaef9c71780d530c36d510df0abdc4cd (patch) | |
tree | be9e15e3a4e493638a3a4c3b2b98a2c6e6cb43e1 | |
parent | 46361c6c2b649f44f380222810378957ecb6fcc1 (diff) | |
parent | 3847972ad255f8d6eef334d337e0b112c04e6dcc (diff) | |
download | native-cd71708ecaef9c71780d530c36d510df0abdc4cd.tar.gz |
DO NOT MERGE Remove window obscurement information. am: 5508ca2c19
am: 3847972ad2
Change-Id: I0761c69032de13e471210a716ccca78e0cb2a36e
-rw-r--r-- | services/inputflinger/InputDispatcher.cpp | 9 |
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)); } } } |