commit | 08d81706b94c8d696618aa14c044a83b81032266 | [log] [tgz] |
---|---|---|
author | Varun Shah <varunshah@google.com> | Fri Nov 01 10:46:40 2019 -0700 |
committer | Varun Shah <varunshah@google.com> | Sat Nov 02 11:57:47 2019 -0700 |
tree | a63b300de820334aa868372f4187922a82fd5bd0 | |
parent | b30344f241003be53631c42cb88b432d70b2bf18 [diff] |
Fix UsageStats begin and end timestamp bug. UsageStatsProtoV2 was not correctly assigning the begin and end timestamps when reading data from disk. Correctly update the timestamps when all data has been read from disk. Bug: 143558600 Bug: 143472799 Test: atest android.app.usage.cts.UsageStatsTest#testPackageUsageStatsIntervals Test: atest UsageStatsRestoreHostSideTest Change-Id: Ib436e661744ea82429ee3fb679a16a6e26697050