commit | 6038ea572e5cfddd0732f913ef1af51fcc78933a | [log] [tgz] |
---|---|---|
author | Luis Hector Chavez <lhchavez@google.com> | Thu Apr 12 15:25:15 2018 -0700 |
committer | Luis Hector Chavez <lhchavez@google.com> | Mon Apr 16 11:17:42 2018 -0700 |
tree | 1bf9cb10fede493f790a2b2b8bc96648c3a5755b | |
parent | 171b04ab79fc1e5b5934eff1da87ef3fce07be26 [diff] |
Make bootstat container-friendly This change allows bootstat to read the ro.boot.boottime_offset property, which is set on devices where Android runs in a container. This is because the CLOCK_BOOTTIME clock is not reset when (from Android's perspective) the device restarts, since the host OS does not restart itself. Bug: 77273909 Test: CtsBootStatsTestCases Change-Id: Ifb792864394be0b4686cc9d555c0afced856f4b4 Merged-In: Ifb792864394be0b4686cc9d555c0afced856f4b4