commit | 2cf3ae3f065b605f0f95ac3365ccafae602b0890 | [log] [tgz] |
---|---|---|
author | Tej Singh <singhtejinder@google.com> | Thu Dec 05 18:37:19 2019 -0800 |
committer | Tej Singh <singhtejinder@google.com> | Thu Dec 05 18:42:30 2019 -0800 |
tree | 4c513ccca45b957ef32d34c9f8c15ec676f332d3 | |
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