diff options
author | Siarhei Vishniakou <svv@google.com> | 2017-08-10 19:46:58 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-08-10 19:46:58 +0000 |
commit | 41f75ecb795c63a6ad48629bd4e8e706f02a71c2 (patch) | |
tree | a64bf49fb1cad0cd1150ba588ce2d2f20c3f94e2 | |
parent | f613f073b2d8a17ac65a68cf5484a44524a70d20 (diff) | |
parent | 88855f8de792ecc64297f9a0088d3c8d5e0622ff (diff) | |
download | native-41f75ecb795c63a6ad48629bd4e8e706f02a71c2.tar.gz |
DO NOT MERGE Remove window obscurement information. am: 5508ca2c19 am: 3847972ad2 am: cd71708eca
am: 88855f8de7
Change-Id: I29b20c983adb81d9a3669f3bae6b1cde4ccd37e0
-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)); } } } |