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

Commit ac77e1f4 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Follow refactoring of install-abandon command.

Bug: 16543552
Change-Id: I1f54254813fd7d7f4341b8815f816535a39de079
parent 5a255238
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2041,11 +2041,11 @@ int install_multiple_app(transport_type transport, char* serial, int argc, char*
    }

finalize_session:
    // Commit session if we streamed everything okay; otherwise destroy
    // Commit session if we streamed everything okay; otherwise abandon
    if (success) {
        snprintf(buf, sizeof(buf), "exec:pm install-commit %d", session_id);
    } else {
        snprintf(buf, sizeof(buf), "exec:pm install-destroy %d", session_id);
        snprintf(buf, sizeof(buf), "exec:pm install-abandon %d", session_id);
    }

    fd = adb_connect(buf);