summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Arthur Hung <arthurhung@google.com> 2021-10-04 14:08:48 +0000
committer Arthur Hung <arthurhung@google.com> 2021-10-12 00:58:36 +0000
commitfb2ebce32db6506c04ef86a6f262383da2d07af9 (patch)
tree9f5a8e60d5b9fb315110a9256f557269da2283e7 /services/surfaceflinger/RegionSamplingThread.cpp
parentca9bc644567443ae1973e368a66e1dd15d019d94 (diff)
Check BufferLayer's alpha value when canReceiveInput
For BufferLayer, the alpha value will affect the final present result. However, in previous behavior, it only checked the policy flag, that could cause the transparent surface can still recevie the touch if WM side didn't hide the surface properly and the alpha value becomes to 0. To fix this, we have to check the alpha value if the buffer is exist. Bug: 201647070 Bug: 200837970 Test: atest InputSurfacesTest Test: adb shell monkey 10000; make sure monkey does not get stuck Change-Id: I54090811286654062d613cf1e0a637214d1e8c5d
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions