diff options
author | Sudheer Shanka <sudheersai@google.com> | 2018-07-16 18:00:46 -0700 |
---|---|---|
committer | Sudheer Shanka <sudheersai@google.com> | 2018-07-17 17:24:06 +0000 |
commit | 020239df85931c3d5d5a89259f2e321fa48de353 (patch) | |
tree | 27692e6e04a019b047780badb0567d85876cdb24 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 15840389f2f733b20b3869534920008ef491bebc (diff) |
Fix potential crash when per-procstate cpu times tracking is turned on.
When per-procstate cpu times tracking is turned on,
BatteryStatsImpl tries to access mKernelSingleUidTimeReader but
it's possible that mKernelSingleUidTimeReader hasn't been initialized
yet after a reboot and this could lead to a system_server crash.
Bug: 111523951
Test: manual
Change-Id: Id014f23fbe31fed64fba769f14ba4396a003092e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions