commit | 03aae156b87b0114994caef1285d4190243ed3ce | [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 | 1b2f2ee6215145d9d2af0bba6c0b847fec083107 [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