commit | 4ad3af63309d9b9887723d6a0addf803186c9427 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Wed Oct 30 11:59:45 2019 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Thu Oct 31 17:34:25 2019 +0000 |
tree | 54233e2e5d086681d21610a4bd85d3693c01d016 | |
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