summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/CacheManager.cpp
diff options
context:
space:
mode:
authorSudheer Shanka <sudheersai@google.com>2018-07-16 18:00:46 -0700
committerHari Veerubhotla <vsubrahm@codeaurora.org>2019-04-04 08:53:59 +0530
commit5566d1e30d06d2bc7d4d8a0e216c7ca6e3cd497a (patch)
treebdc7fa9ef7065d0cc945e10433760e61bbbae229 /libs/hwui/renderthread/CacheManager.cpp
parent6275aa546c926a8996165c9f50ae32319188fc24 (diff)
Fix potential failure 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 failure. CRs-Fixed: 2426713 Bug: 111523951 Test: manual Change-Id: Id014f23fbe31fed64fba769f14ba4396a003092e Merged-In: Id014f23fbe31fed64fba769f14ba4396a003092e (cherry picked from commit 020239df85931c3d5d5a89259f2e321fa48de353) (cherry picked from commit 6ebb1d15f38905afbd3c22563a7ba73762a6053f)
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions