summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Adam Lesinski <adamlesinski@google.com> 2016-01-13 11:03:35 -0800
committer Adam Lesinski <adamlesinski@google.com> 2016-01-13 11:03:35 -0800
commit7856f3c283e6332c22d5cee41d2e673e1dfe09f8 (patch)
treed47cb46fcf38e6e625b05132067ae0a125d63f05 /libs/hwui/ProgramCache.cpp
parent4fce66668e45429bbba49b9fb35d3b8d095a466c (diff)
UsageStats: Fix issue where initializing data for first time would cause crash
With the updated rolling window of stats for app idleness, we need to make sure it is populated before we initialize some defaults. Now that we look at older entries to figure out idleness, if those entries are in the future (due to time change), set them to the current screen on time. Bug:26504153 Change-Id: I4c21e8f094a1a6727373368d043f523053280d7d
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions