summaryrefslogtreecommitdiffstats
path: root/adb/commandline.c
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2014-07-25 09:58:25 -0700
committerJeff Sharkey <jsharkey@android.com>2014-07-25 10:09:18 -0700
commitac77e1f4e40479ee7018f10dd070d5a6d5f4cfec (patch)
tree353fb05ce836f876ac2c0330d4ed74d6d8f0a5c6 /adb/commandline.c
parent5a2552388e698fec4efda270d2d88bb18ed3f299 (diff)
downloadcore-ac77e1f4e40479ee7018f10dd070d5a6d5f4cfec.tar.gz
core-ac77e1f4e40479ee7018f10dd070d5a6d5f4cfec.tar.bz2
core-ac77e1f4e40479ee7018f10dd070d5a6d5f4cfec.zip
Follow refactoring of install-abandon command.
Bug: 16543552 Change-Id: I1f54254813fd7d7f4341b8815f816535a39de079
Diffstat (limited to 'adb/commandline.c')
-rw-r--r--adb/commandline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/adb/commandline.c b/adb/commandline.c
index 96ea8c62b..e1ff856ee 100644
--- a/adb/commandline.c
+++ b/adb/commandline.c
@@ -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);