diff options
author | Makoto Onuki <omakoto@google.com> | 2018-01-25 09:50:24 -0800 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2018-03-06 17:40:59 -0800 |
commit | f896f1254c761398ee7ded56e1e23327bccf0149 (patch) | |
tree | 86e90ff9ad7ed9710642d302837301432207fd03 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 983c1e54e1ae651ffb4c0f1ce34a561624af6060 (diff) |
Avoid service wrapper initialization deadlock.
- Don't initialize a service wrapper with the cache lock held.
- Instead, use AtomicInteger to avoid instantiating the same service
multiple times.
Test: build, boot, presubmit
Bug: 71882178
Change-Id: Iea4207b855043addac4d24381778babf8eedd84d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions