commit | 8c3c80cbc706137fa1a3dc8784fd8108c0841b30 | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Wed Jun 28 17:13:19 2017 -0700 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Jan 18 19:08:22 2018 +0000 |
tree | 89394d5cd998608e4dadc5218c904349b1d602f0 | |
parent | d60a814adf92dcf374343930237767303446be29 [diff] |
Add maximum timestamp to the payload. Added a new field max_timestamp in the protobuf, from now on update_engine will reject any payload without this field. If the OS build timestamp is newer than the max_timestamp, the payload will also be rejected to prevent downgrade. Bug: 36232423 Test: update_engine_unittests Merged-In: Ib20f5f35aaf41165013bada02bc8720917358237 Change-Id: Ib20f5f35aaf41165013bada02bc8720917358237 (cherry picked from commit 5011df680621eb477cad8b34f03fba5b542cc2f9) (cherry picked from commit ccb01b2a3beb94094388de806bc15b210ebe8b11)