commit | 582fca7dd5fcd96b7064f8bb977974b573168762 | [log] [tgz] |
---|---|---|
author | Weston Carvalho <westoncarvalho@google.com> | Thu Mar 06 13:24:03 2025 -0600 |
committer | Weston Carvalho <westoncarvalho@google.com> | Thu Mar 06 13:24:03 2025 -0600 |
tree | c4705309df0256bb423c7d148ddeff3f6b733196 | |
parent | bdf2b653542cabea06b164013a73958303ec26bf [diff] |
checkpoint: Fix metadata file contents bug In aosp/787759, Checkpoint changed the way kMetadataCPFile stored the retry count, but didn't account for "-1" as a special case. As a result, Checkpoint no longer reported `needsRollback` to be true when `startCheckpoint(-1)` was called. Bug: none Test: presubmits (lmk if there's something better) Change-Id: I4acb929eb3471409b986f74493993a9f1d84e4a5