diff options
author | Tianjie Xu <xunchang@google.com> | 2019-10-30 11:59:45 -0700 |
---|---|---|
committer | Tianjie Xu <xunchang@google.com> | 2019-10-31 17:34:25 +0000 |
commit | 4ad3af63309d9b9887723d6a0addf803186c9427 (patch) | |
tree | 54233e2e5d086681d21610a4bd85d3693c01d016 /scripts/update_device.py | |
parent | 02513dc7b6666eae2c76f6c52cf6355ea4223b36 (diff) |
Allow skipping timestamp check in certain debug conditions
As proposed in go/ota-downgrade, the android auto team wants to install
a full OTA with the older timestamp. We will only allow it on devices
with userdebug build, and has the property "ro.ota.allow_downgrade"
set. Data wipe is almost inevitable due to the probability of security
patch level and database rollback.
Test: set the property and install a full payload with older timestamp.
Change-Id: I897bbb19bfec820340f791abf3c6d8138995fa90
Diffstat (limited to 'scripts/update_device.py')
0 files changed, 0 insertions, 0 deletions