am 74ff4fcf: Merge "Follow refactoring of install-abandon command." into lmp-dev

* commit '74ff4fcfc46e853ecd9fe34b5cedb47fc379f1af':
  Follow refactoring of install-abandon command.
This commit is contained in:
Jeff Sharkey 2014-07-25 19:19:33 +00:00 committed by Android Git Automerger
commit 555a904f7c
1 changed files with 2 additions and 2 deletions

View File

@ -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);