summaryrefslogtreecommitdiff
path: root/libs/ui/Region.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2020-04-13 17:21:08 -0700
committer Rob Carr <racarr@google.com> 2020-04-28 20:57:27 +0000
commit9cada03fdc6a99b55450c09c70ff0413603b4c1e (patch)
treef747ec98df7c37c9f9de458b19b09eb51f3a4f6f /libs/ui/Region.cpp
parent9bb4cfb009f1317605e8ff090e0ce930e15d4d40 (diff)
DO NOT MERGE: InputDispatcher: Consider ownerPid in FLAG_OBSCURED calculations
Now that we are receiving an InputWindowHandle for each buffered surface we need to take care not to introduce any behavior changes: 1. Previously a SurfaceView on top of a main app window would not obscure that application for Input purposes (since it was unknown to InputDispatcher). We preserve this semantic by not considering windows from the same ownerPid as occluding eachother. 2. However previously, windows WITH input channels from the same process would generate FLAG_OCCLUDED so we also preserve this semantic by only implementing the new semantic from 1 when channel is null. Bug: 152064592 Test: ObscuredInputTests Change-Id: If45acfd8b63c5ebd68bc219bc0fb6ee1c34650cd
Diffstat (limited to 'libs/ui/Region.cpp')
0 files changed, 0 insertions, 0 deletions