recovery: Always log the update attempt. am: 5687001895 am: e0c8a9bb02

am: 41584111b5

* commit '41584111b56bab9c8503db56d9acc6f9b198f50c':
  recovery: Always log the update attempt.

Change-Id: I61352e48b54f1348c4334dbf34bbca95b20ddf19
This commit is contained in:
Tao Bao
2016-05-02 16:41:15 +00:00
committed by android-build-merger
+4
View File
@@ -1425,6 +1425,10 @@ int main(int argc, char **argv) {
int status = INSTALL_SUCCESS;
if (update_package != NULL) {
// It's not entirely true that we will modify the flash. But we want
// to log the update attempt since update_package is non-NULL.
modified_flash = true;
if (!is_battery_ok()) {
ui->Print("battery capacity is not enough for installing package, needed is %d%%\n",
BATTERY_OK_PERCENTAGE);