diff options
| author | 2018-07-16 18:00:46 -0700 | |
|---|---|---|
| committer | 2019-02-15 18:27:38 -0800 | |
| commit | 6ebb1d15f38905afbd3c22563a7ba73762a6053f (patch) | |
| tree | 53ac6804987b067e8b6da8156c3fa4ce96291947 /libs/androidfw/AttributeResolution.cpp | |
| parent | 0dddb902aea5a7e4d20722ebb3dbf1d28ff38787 (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
Merged-In: Id014f23fbe31fed64fba769f14ba4396a003092e
(cherry picked from commit 020239df85931c3d5d5a89259f2e321fa48de353)
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions