summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author gaoshang <gaoshang@xiaomi.com> 2017-05-17 14:36:46 +0800
committer gaoshang <gaoshang@xiaomi.com> 2017-05-20 01:57:44 +0000
commit9090d4faae02e8e4dde45851d2969e7e62d40c9b (patch)
treef9f4c8c268268bce152b378a7b4b95703dcb1e83 /vulkan/libvulkan/api.cpp
parent3a6828d50b3b90b92a4ea1deddec4cc4b19e0604 (diff)
Fix a anr bug caused by sendFinishedSignal logical error
Because of eliminate multiple benign overflow conditions see: https://android-review.googlesource.com/#/c/172237/ Changed the do while loop resulting in a logical difference. When the chainIndex-- to 0, the loop is not run. It is the most important cycle, it will push head seq to mSeqChains. If not run, will lead to a batch of seq can not corrected finish. Eventually leading to the occurrence of anr. Signed-off-by: gaoshang <gaoshang@xiaomi.com> Test: Input dispatche process Bug: 38366215 Change-Id: I87e609dfcb00ac7b8e82c6de789df094e7c25efd
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions