commit | f7ca889268c4674ac7e0390fa82a3b3eaa04e748 | [log] [tgz] |
---|---|---|
author | Hui Yu <huiyu@google.com> | Tue Sep 03 17:45:49 2019 -0700 |
committer | Hui Yu <huiyu@google.com> | Wed Oct 23 17:58:47 2019 +0000 |
tree | f892e061b481cb30fcf980bb47ccb3c6b47e8c63 | |
parent | 3e4d74238244f625cc8256664643fa2b667e4c44 [diff] |
Better timestamp for shutdown and startup events. Fix the bug that during android P to Q upgrade, DEVICE_SHUTDOWN event mistakenly gets a newer timestamp than DEVICE_STARTUP event. Bug: 139656029 Test: flash the device with android P, then upgrade to android Q, then "adb shell dumpsys usagestats", observe DEVICE_SHUTDOWN is before DEVICE_STARTUP. Change-Id: I5429fe7648529be8379270adefd26bd98a31357c