summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/VulkanManager.cpp
diff options
context:
space:
mode:
authorVarun Shah <varunshah@google.com>2020-05-01 00:28:59 -0700
committerVarun Shah <varunshah@google.com>2020-05-01 11:08:20 -0700
commitb44e22c8d9098f35a1e1dcff055549eb669dffb1 (patch)
treeb7c1544879aa2215d6c6a36fb60aae1890d59581 /libs/hwui/renderthread/VulkanManager.cpp
parent40f632b78c25a7f60f154c9e6357eed039a03bf1 (diff)
Update how UsageStats timestamps are written to disk.
When writing UsageStats timestamps to disk in proto, we offset the time by the begin time to save storage space. However, there was logic which reset default timestamp values of 0 to begin time for those stats. This CL standardizes how timestamps are written to disk in proto for UsageStats and updates the parsers. Since backup and restore use database version 4, UsageStatsProto is also updated in addition to UsageStatsProtoV2. Bug: 155149300 Test: atest UsageStatsDatabaseTest Test: atest android.app.usage.cts.UsageStatsTest Change-Id: I624e4d56c91762b56eb1c3be67cd8df033fcac95
Diffstat (limited to 'libs/hwui/renderthread/VulkanManager.cpp')
0 files changed, 0 insertions, 0 deletions