summaryrefslogtreecommitdiffstats
path: root/adb/commandline.c
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2014-07-25 19:04:55 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-07-24 15:37:54 +0000
commit74ff4fcfc46e853ecd9fe34b5cedb47fc379f1af (patch)
tree8ca9228cba7bab7e9069b08f7bbfc885c38f47d6 /adb/commandline.c
parent7bb5660647d0106f96b000c25f5690a45734c38c (diff)
parentac77e1f4e40479ee7018f10dd070d5a6d5f4cfec (diff)
downloadsystem_core-74ff4fcfc46e853ecd9fe34b5cedb47fc379f1af.zip
system_core-74ff4fcfc46e853ecd9fe34b5cedb47fc379f1af.tar.gz
system_core-74ff4fcfc46e853ecd9fe34b5cedb47fc379f1af.tar.bz2
Merge "Follow refactoring of install-abandon command." into lmp-dev
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 96ea8c6..e1ff856 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);