diff options
author | Niels Egberts <nielse@google.com> | 2018-02-13 13:24:56 +0000 |
---|---|---|
committer | Niels Egberts <nielse@google.com> | 2018-02-13 18:13:36 +0000 |
commit | 32011ea4f144b46b5ab64577465983caf6303f2d (patch) | |
tree | 233caf28b7c384314812d5d9f9a1cf03dbf035e2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 2f711fec15b132b46e0d216d61b868aa27cb7064 (diff) |
Fix race condition with calling stop() before run()
The code assumed that when stop() is called before run(), it's not
neccessary to signal mNotFull, but in rare cases the synthesizer may
already have filled the buffer before run() is called.
Test: manual
Bug: 70887227
Change-Id: I83117f3541d37830b344bc9eda34e1f380b58e76
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions