commit | b1e153bcd246f838c336855e1f4c8142625eefed | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Thu Feb 18 11:07:01 2016 -0800 |
committer | Amith Yamasani <yamasani@google.com> | Thu Feb 18 11:22:30 2016 -0800 |
tree | cd50bf7adfd1a8baa65a84bcb2617d7d27580707 | |
parent | 0137c3daf4bdd3154b71d9b34536960c424fc422 [diff] |
Reduce locking duration when checking idle states Synchronize only the methods that need to be, so that the lock is not held for a few hundred milliseconds, blocking other usagestats operations. Bug: 27208519 Change-Id: I43bda0791dd8b2576a8af506bcdc67a09a5830f2