summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorSiarhei Vishniakou <svv@google.com>2017-10-20 18:06:57 -0700
committerSiarhei Vishniakou <svv@google.com>2017-10-25 10:58:37 -0500
commitd27a6319f21800cf423e0a7d3d49acc88eaa38ed (patch)
tree7086c999ee44d32cbb17d52150a47de425251289 /libs/hwui/renderthread/DrawFrameTask.cpp
parenta5da2cf57d581ea87481612e2a7b5e4f83119071 (diff)
Prevent touch delegate from blocking parent events
Make sure that TouchDelegate does not interfere with handling of parent's events, such as onClick(). Currently, the variable mDelegateTargeted is sticky, and after the TouchDelegate is first activated, stays true for the remainder of its life. Therefore, the parent view will no longer receive clicks after the TouchDelegate is first clicked. This patch forces the re-evaluation of mDelegateTargeted on each new ACTION_DOWN event. Test: bit CtsViewTestCases:.TouchDelegateTest Bug: 65392236 Change-Id: Ifa6430ce6e8400c0411df7da66281219ea97733c
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions