diff options
author | Calvin On <con@google.com> | 2017-10-03 12:20:43 -0700 |
---|---|---|
committer | Calvin On <con@google.com> | 2017-10-26 14:07:31 -0700 |
commit | dce6e5dfd4fd2c14b495ce0b1e04925cbb7632d4 (patch) | |
tree | 306b5fdc8220348df90b3c6d85c73c3a0596a7f1 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | a0f2109438d93c115cce5fd5a31e18d2b16ef05c (diff) |
Fix StateMachine init/quit race.
The quitNow method places the SM_QUIT_CMD at the front
of the queue. This can cause StateMachine to throw exception
if it has not yet processed the SM_INIT_CMD from start().
Bug: 67370902
Test: make checkbuild
Test: StateMachineTest unittest
Test: build/install on device, toggle bluetooth and wifi
Change-Id: I7cec7bb91e0447e3c565d33cb7c34ccf59566639
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions