OSDN Git Service

Revert "Revert "ota: Remove cruft we don't care about""
authorIvan Kutepov <its.kutepov@gmail.com>
Tue, 16 May 2017 18:56:56 +0000 (21:56 +0300)
committerDan Pasanen <dan.pasanen@gmail.com>
Wed, 17 May 2017 15:21:51 +0000 (15:21 +0000)
commita47d7ee7027ecb50e217c5e4d6ea7e201d7ea033
tree310a7429917b7dc5aa9199064735a12782d44bb2
parent724e05e2ead8714325d46771b76c6c244eba3d8e
Revert "Revert "ota: Remove cruft we don't care about""

Should prevent users from "downgrading" builds, but instead of checking the
build date of the ROM, updater-script checks the build date of the recovery.
As a result, "downgrading" is still possible, and installation of the ROM,
if the recovery is newer than it, is impossible.

This reverts commit 28032f6bb6728fc26bf1258cb939fbaf12ec0e7e.

Change-Id: I71ce8eb16074079f01dfabcb19ed30e3586c59ac
tools/releasetools/ota_from_target_files.py