commit | 7228099b2c966060be463d34ff3a083230e1985c | [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 | 7b57d0b42e1b2cc966e0a825e59d7264fe6bd9d5 [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