commit | 583d34c1c66fafabfc673c1c349d4834db94ac17 | [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:15:49 2018 -0700 |
tree | b3ffd07b4dc2873dd119cc096f891e2262cad038 | |
parent | 14eb61199e7ca084740a7db5fff394bed12ce21b [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