diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-01-15 02:08:57 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-01-15 02:08:57 +0000 |
commit | d3a6849126e3637885ec4c4469a0318ec7befbe7 (patch) | |
tree | 8ec0b83c779d3d1b7def9ced92f4be77eb93c6bf | |
parent | 1c4ac8b0f2bebc80bd060a788207ad4d3c92b415 (diff) | |
parent | 58c8f09e778b0a5e7a0dc5226ba0500e8417a58d (diff) | |
download | native-android-security-10.0.0_r68.tar.gz |
Merge cherrypicks of [16185286] into security-aosp-qt-release.android-security-10.0.0_r68android-security-10.0.0_r67android-security-10.0.0_r66android-security-10.0.0_r65android-security-10.0.0_r64
Change-Id: I769883422923f5e067b525a0b1cfaeecef2b8f1c
-rw-r--r-- | services/inputflinger/InputDispatcher.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/inputflinger/InputDispatcher.cpp b/services/inputflinger/InputDispatcher.cpp index b921d954dc..e8ee73661d 100644 --- a/services/inputflinger/InputDispatcher.cpp +++ b/services/inputflinger/InputDispatcher.cpp @@ -1446,6 +1446,8 @@ int32_t InputDispatcher::findTouchedWindowTargetsLocked(nsecs_t currentTime, } if (isWindowObscuredAtPointLocked(newTouchedWindowHandle, x, y)) { targetFlags |= InputTarget::FLAG_WINDOW_IS_OBSCURED; + } else if (isWindowObscuredLocked(newTouchedWindowHandle)) { + targetFlags |= InputTarget::FLAG_WINDOW_IS_PARTIALLY_OBSCURED; } BitSet32 pointerIds; |