commit | 8d83364c5f882db3e30df432616068a95d459813 | [log] [tgz] |
---|---|---|
author | Hui Yu <huiyu@google.com> | Tue Sep 03 17:45:49 2019 -0700 |
committer | Hui Yu <huiyu@google.com> | Mon Dec 16 22:26:45 2019 +0000 |
tree | 21da7bf8e86500864b058f8ad65ff2929a3330cb | |
parent | 402c7bb521361872547286f129026158ec952d1b [diff] |
[DO NOT MERGE] 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