diff options
author | Tej Singh <singhtejinder@google.com> | 2019-12-05 18:37:19 -0800 |
---|---|---|
committer | Tej Singh <singhtejinder@google.com> | 2019-12-05 18:42:30 -0800 |
commit | 2cf3ae3f065b605f0f95ac3365ccafae602b0890 (patch) | |
tree | 4c513ccca45b957ef32d34c9f8c15ec676f332d3 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 7761845259920729baedcb58e23eb7fbcf478b8a (diff) |
StatsManager uses private object for synchronizing
StatsManager used to synchronize on "this", which is dangerous because
an app can get StatsManager and also sychronize on it, which would block
all calls. We now lock on a private final object.
Test: make
Bug: 144315658
Fixes: 144315658
Change-Id: Ia34b1c586b09a48b244cc16dba77fe54e81f62cf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions