platform_bootable_recovery/fuse_sideload
Cheng Chang a0732906ae Fix non-ab fuse ota fail bug
Fix the 'Calculate the offset to last partial block' logic in
ReadBlockAligndData. If file_size % fuse_block_size_ < source_block_size_,
the origin map logic will get a wrong block address of last block.
This bug leads to the non-ab fuse ota fail.

Test: compare the md5 of origin pkg and pkg reading from fuse.
Change-Id: Ic5132a7e9919cc2e91390231be342b97421ea23e
2022-03-01 16:40:40 +08:00
..
include Support starting fuse from a block map 2019-06-20 13:53:40 -07:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to bootable/recovery 2021-02-14 10:37:20 -08:00
fuse_provider.cpp Fix non-ab fuse ota fail bug 2022-03-01 16:40:40 +08:00
fuse_sideload.cpp Fix the fuse error that cannot handle the OTA package larger than 4 GiB 2021-10-12 13:10:43 +08:00