diff options
author | Tianjie <xunchang@google.com> | 2020-10-19 21:49:37 -0700 |
---|---|---|
committer | Tianjie Xu <xunchang@google.com> | 2020-10-20 21:45:36 +0000 |
commit | 19e55297ac3805c7109325ea7d536887e302403e (patch) | |
tree | 05f10ec4a26cc49eb95c0e5f92910cce2caa844c /common/dynamic_partition_control_interface.h | |
parent | 6c190a2d716d346ccf60fceae1a4985581b42d0c (diff) |
Don't fail downgrade check for partitions without version
Some partitions, e.g. vbmeta, won't have timestamp. And the existing
downgrade check will fail for these partitions for partial updates.
This cl switches the logic to allow empty version for a given
partition in the payload, if that source partition doesn't have
version (timestamp) on device. This way, we can avoid adding another
hardcoded list of partitions with build props.
Bug: 170796643
Test: install a partial update on cuttlefish
Change-Id: I747910b353bd71e10ec7c32ebb125bde6c16e48a
Diffstat (limited to 'common/dynamic_partition_control_interface.h')
0 files changed, 0 insertions, 0 deletions