summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Bernardo Rufino <brufino@google.com> 2020-12-21 11:02:18 +0000
committer Bernardo Rufino <brufino@google.com> 2020-12-22 22:07:15 +0000
commit602ef710ce554131d169d5348cddff5aef5cba61 (patch)
tree73bafbde3436ad46f689251d07a1b3f7f35baa79 /services/surfaceflinger/RegionSamplingThread.cpp
parent918221f3cdf08c37608ed14427a31e9a0b4b21a7 (diff)
Avoid blocking untrusted touches for touch_flag_obscured
Prevent the feature from blocking the touch since we want to verify that the proper flag is correctly assigned to the motion event. The test still has value since for some window types (eg. SAW) we might allow touches via go/untrusted-touches but we still want the FLAG_WINDOW_IS_OBSCURED mechanism to work. So, we just configure the surface as TouchOcclusionMode::ALLOW, which makes go/untrusted-touches bypass it. Bug: 158002302 Test: atest InputSurfacesTest#touch_flag_obscured Change-Id: I9fb2846752b8674eec50b777c203a13cdc836144
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions