diff options
author | Yifan Hong <elsk@google.com> | 2020-09-21 19:50:06 -0700 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2020-09-23 23:25:33 +0000 |
commit | 126d13ee33880555bc55dd3b49fa6af53b3b0ed4 (patch) | |
tree | a2f7a37f940da610492e43b41df6b677dfd59fe6 /common/dynamic_partition_control_interface.h | |
parent | 5e6dfe3933a7ea6e934adfa0319d52a8919a29e8 (diff) |
Only prevent boot image downgrade if sysprop set.
Only return timestamp error if ro.build.ab_update.gki.prevent_downgrade_version is set.
Otherwise, log warning message and continue the update.
This allows devices that does not support GKI updates to install OTA packages where
the boot image has a lower version than the existing, which is supported before.
Bug: 162623577
Test: apply OTA on devices with and without sysprop set
Change-Id: Ie98fb49ffaae1aa60fc94766f53a6fbbae519a5b
Diffstat (limited to 'common/dynamic_partition_control_interface.h')
0 files changed, 0 insertions, 0 deletions