diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-09-25 17:03:12 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-09-26 10:28:20 -0700 |
commit | a98ffd745bbecb2e84a492194950c0b94966546b (patch) | |
tree | 7470bcbb8fbc01eb80ed74ca585058dc4c81ee8e /test/ProfileTestMultiDex/Main.java | |
parent | 266b4689731f2c69af0f2854aaab947cf6e89f84 (diff) |
Fix broken runtime SetStatsEnabled logic
Previously, Runtime::SetStatsEnabled wouldn't take stats_enabled_
into account when deciding whether or not to increment / decrement
teh stats enabled counter. This resulted in counter underflows and
other errors which caused some CTS tests to fail.
Also added some locking to prevent race conditions.
Bug: 17360878
Change-Id: I779237d55dda4f35054a4d27fb2c660a38750fc0
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions