Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88234ad8 authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "recovery: Always log the update attempt."

am: ecd6e2af

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

Change-Id: I40c1f6f85c4aa0f1c12d4b0c47f937612669c6c8
parents 77d7cb1d ecd6e2af
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1365,6 +1365,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);