commit | b31892e5de3259e5bcce3b43399f9fa7f723f81d | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Tue Feb 07 11:21:17 2017 -0800 |
committer | Tao Bao <tbao@google.com> | Tue Feb 07 12:25:59 2017 -0800 |
tree | c4f0060b9d250aa3deb8530729d888e98ed6c714 | |
parent | b09fef915897a904ec1006db70f7ba9654740b81 [diff] |
releasetools: Support generating downgrade A/B OTAs. We already support generating downgrade OTAs for non-A/B devices (with mandatory data wipe), but we have missed the --downgrade flag in A/B OTA path. This CL factors out the function that writes the downgrade metadata, and fixes the path for generating A/B OTAs. Bug: 35094540 Test: Generate incrementals with --downgrade for A/B and non-A/B OTAs. Change-Id: I30b9bf83e69e8aba3be666507681b555db6ab743