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

* commit 'e0c8a9bb02d4518c0723ea56b02da51373ddb5e9':
  recovery: Always log the update attempt.

Change-Id: I02178398bd8bbee8c106320a9e9564bedd19c97a
diff --git a/recovery.cpp b/recovery.cpp
index f913dc5..cf368e4 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -1425,6 +1425,10 @@
     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);