diff options
author | Brett Chabot <brettchabot@google.com> | 2020-03-13 15:17:08 -0700 |
---|---|---|
committer | Brett Chabot <brettchabot@google.com> | 2020-03-13 15:37:35 -0700 |
commit | 1f8455d42f4d57970c1be9cbaa161c35f99ad89d (patch) | |
tree | 6b02633757a15b665e6af1880ed72af3b372aea5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a8375cc9f85380254d18ae48b59e8954c0b7886e (diff) |
Fix race condition in OomAdjuster.
OomAdjuster accesses the not-thread-safe HandlerThread.getThreadId from
outside the thread.
Modify so it posts a message to thread instead.
See bug 22476742
Bug: 151407445
Test: See repro instructions in bug
Change-Id: Iae03d46896561f0442af6595a8d0bdf617ccd61e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions