OSDN Git Service

Use the update-binary in the source build for downgrade OTAs.
authorTao Bao <tbao@google.com>
Wed, 9 Mar 2016 01:53:39 +0000 (17:53 -0800)
committerTao Bao <tbao@google.com>
Wed, 9 Mar 2016 02:48:40 +0000 (18:48 -0800)
commitfa41fb27054185b3fba0519d01dabd21444fe772
tree004be88b5e854f2ba9cc10f046de67d5b18d51c2
parent177c610e7ffcbfe4dc0e178feb9d235f1f4be047
Use the update-binary in the source build for downgrade OTAs.

We used to use the update-binary from the target build when creating
incremental OTAs. But for downgrade OTAs, we should use the one in the
source build instead, which is actually newer.

Bug: 27556903
Change-Id: Ib6415729b979dbffdebdda24902f7f560942801a
(cherry picked from commit 4996cf03d2321eef56a8163c7fc73ba9976e1021)
tools/releasetools/ota_from_target_files.py