diff options
author | Siarhei Vishniakou <svv@google.com> | 2017-08-10 22:18:25 +0000 |
---|---|---|
committer | Siarhei Vishniakou <svv@google.com> | 2017-08-10 22:18:25 +0000 |
commit | dda3bdf8a845ab9c967c5afa39f700579e3f84f5 (patch) | |
tree | 34a71e4563399e181abb8d69cf98e2fa0f84621f | |
parent | 1f8b90126aeb9eb88d396f0103e8a17e34ac3be8 (diff) | |
parent | edac95e737d65466d52e77be5ebef7e378f756ef (diff) | |
download | native-dda3bdf8a845ab9c967c5afa39f700579e3f84f5.tar.gz |
[automerger] DO NOT MERGE Remove window obscurement information. am: edac95e737
Change-Id: I61e9a4e826ef2cafd73ad3591f3a3560a7002253
-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 c9e876fd29..ec3ec7bde3 100644 --- a/services/inputflinger/InputDispatcher.cpp +++ b/services/inputflinger/InputDispatcher.cpp @@ -1222,15 +1222,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)); } } } |