summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack_fuzz.cpp
diff options
context:
space:
mode:
authorNikita Ioffe <ioffe@google.com>2020-02-26 15:18:56 +0000
committerNikita Ioffe <ioffe@google.com>2020-02-27 13:06:37 +0000
commitd485bbbb5117e58a0913c2c667647fa157dd7da3 (patch)
treed2270d8cb40667693683a0f76a9f510edad0d662 /libutils/ProcessCallStack_fuzz.cpp
parent2ddc5a19324e9bfc332f8065a208ab5203b5c216 (diff)
If userspace reboot watchdog triggers, don't store reason in persistent property
If init is wedged, then the write will never succeed and reboot won't happen. Also, in case of normal reboot, move call to PersistRebootReason to the top of DoReboot() function, to make sure we persist it even if /data is not mounted. Test: builds Test: adb shell svc power reboot userspace Test: atest CtsUserspaceRebootHostSideTestCases Bug: 148767783 Change-Id: I4ae40e1f6fdc41cc0bcae57020fa3d3385dda1b4
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions