commit | 779d6bee21fada56116ff44d11943b241dc3531c | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Thu Feb 06 23:17:17 2020 +0000 |
committer | Nikita Ioffe <ioffe@google.com> | Wed Feb 12 17:19:14 2020 +0000 |
tree | 2849b93e956615cc4ed1ce186cd35365bce27dfa | |
parent | b14bb41bb483f50062b2c6b91a5153ab354327aa [diff] |
Log UserspaceRebootReported atom from system_server UserspaceRebootLogger class is introduced to encapsulate (tiny) state machine for logging of userspace reboot. So far state is stored in a persistent property, but that can be changed in the future. Unit tests will be added in a follow-up CL. Test: adb shell svc power reboot userspace Bug: 148767783 Change-Id: Ib9e2c6cef7094ccac7862be249d619212f0013fd (cherry picked from commit d5594e2f901ba7eced97b35da8cf0f0a3f6242bd)