commit | 0ff27211a094b374e0bb6720fcf4092ad42a6f95 | [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 | e20f5e573e15a4445285018a3db27b9a631a7f92 | |
parent | 90f9edd4ec9bf95c5e429ee14e903e3d6f6e07a8 [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)