diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2021-01-28 10:17:34 -0500 |
---|---|---|
committer | Mohammad Islam <samiul@google.com> | 2021-02-23 10:26:23 +0000 |
commit | 8933d5721a1aa28bb51e9d0f72eed63a5f05e869 (patch) | |
tree | 430ec14c2f736396fbae206a592387934f183cf4 /aosp/apex_handler_interface.h | |
parent | 4ca06c192db57c1c066bd03c783da7db06bcda10 (diff) |
Reserve space for apex by creating a file and write 0s
For first version, we let update_engine compute size requirements by
adding up decompressed sizes. Then update_engine creates a file at a
fixed path and write 0s to that file to reserve space.
Test: treehugger, serve an OTA, make sure /data/apex/ota_reserved is present
Bug: 172911822
Change-Id: I2f44289711b1daa064af8ead66cc1293dad89dc7
Diffstat (limited to 'aosp/apex_handler_interface.h')
0 files changed, 0 insertions, 0 deletions