commit | a5798fc1155c0af55048f83959c5f892ec2ccfa8 | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Fri Oct 11 16:38:21 2019 +0100 |
committer | Nikita Ioffe <ioffe@google.com> | Sat Oct 12 00:43:04 2019 +0100 |
tree | be3d5abc3e418db20f4588679359e640d9ec253e | |
parent | 22d50012b0c8b39f02e3a4ce834cbbfde63e15d8 [diff] |
vold: implement resetCheckpoint It will be used by userspace reboot to reset checkpoint state, to make sure that when /data is remounted, it will be remounted in checkpointing if a checkpoint was requested beforee userspace reboot. Test: /system/bin/vdc startCheckpoint 1 /system/bin/vdc needsCheckpoint (returns 0) /system/bin/vdc resetCheckpoint /system/bin/vdc needsCheckpoint (returns 1) Bug: 135984674 Change-Id: Ia29238686289b4eed93e2fb936a8b3d894b94dc9