libsnapshot: update resume offset calculation
Update resume offset calculation to use function call Test: cow_api_test Change-Id: I7a9a86dc007110d02d889d1e59b24c3068b8d9e9
This commit is contained in:
parent
191af79538
commit
95cc6b6f01
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ bool CowParserV3::ReadResumeBuffer(borrowed_fd fd) {
|
|||
|
||||
return android::base::ReadFullyAtOffset(fd, resume_points_->data(),
|
||||
header_.resume_point_count * sizeof(ResumePoint),
|
||||
header_.prefix.header_size + header_.buffer_size);
|
||||
GetResumeOffset(header_));
|
||||
}
|
||||
|
||||
std::optional<uint32_t> CowParserV3::FindResumeOp(const uint64_t label) {
|
||||
|
|
Loading…
Reference in a new issue