* Apparently Android's strcmp returns <0 on mismatched length.
* Also it's not like this check was smart anyway, we should be checking == 0.
Change-Id: I34d8a79f3c73c293d16a15736ff32c2223f45144
Since Xiaomi stopped providing developer builds, this now looks
a more generic and at the same time accurate way of checking
if the needed firmware is installed in the target devices.
Change-Id: Ia057ae1a34746a5cc47bd29d1bac5fb7013a1004
This adds vendor image version assertions, so that the OTA package
is not installed unless the recommended vendor (and matching firmware)
or newer is present in the device.
The checks that are now in place are: modem timestamp, vendor build date
(in UTC format) and corresponding VNDK version.
Change-Id: I1aef57d03ee86040f2eb3a02f79cc3f00ae9cda3
Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>