diff options
author | Jing Ji <jji@google.com> | 2020-03-04 10:31:53 -0800 |
---|---|---|
committer | Jing Ji <jji@google.com> | 2020-05-08 21:14:23 +0000 |
commit | baf2d6448e1558f7c453497c85e5845b46f9cbec (patch) | |
tree | 53b3f4796e147b3c73d335c19473622eeeb18e5e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 511c3aa955ba997511797af7709d83c9f8d43bd1 (diff) |
Check the isInUse with the lock held in MessageQueue
Fix a potential race condtion when the same message object
is being enqueued by two threads.
Bug: 150263007
Bug: 154867444
Test: atest android.os.cts.MessageQueueTest
Change-Id: Id79448ba8719479cbdb054f2cdd172fdcbe86d47
(cherry picked from commit 96a6fec4d651607f0f0b659dd2e8dccaa9b1ed43)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions