summaryrefslogtreecommitdiff
path: root/libs/input/KeyCharacterMap.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2020-10-26 17:50:12 -0700
committer chaviw <chaviw@google.com> 2020-10-26 17:56:31 -0700
commit47dbd69f85fdc57d414c3c31e6fd950fd473e387 (patch)
tree3bd71f0349b90b71d54ae9132ebf835b47e12aa7 /libs/input/KeyCharacterMap.cpp
parent46f8f78fc9b4c6d1ed03dca43770b9f9d19784fd (diff)
Don't lose transaction callbacks that are still in the drawing state.
When a message invalidate occurs, the current state will be copied into drawing state. If another invalide occurs before a refresh, the new current state will be copied into the drawing state. That means we would lose any transaction callbacks that were sent with the first transaction. When refresh is called, we will not notify the callbacks from the first transaction and the system will get stuck waiting for callbacks forever. Test: No direct steps to reproduce. Open apps a lot with blast and make sure system doesn't freeze. Change-Id: I820027e86b15e082e5e7092b2ee52e90a2328d38
Diffstat (limited to 'libs/input/KeyCharacterMap.cpp')
0 files changed, 0 insertions, 0 deletions