summaryrefslogtreecommitdiffstats
path: root/adb/client/commandline.cpp
diff options
context:
space:
mode:
authorHenry Daitx <daitx@google.com>2018-12-12 10:40:57 +0000
committerHenry Daitx <daitx@google.com>2018-12-14 15:25:15 +0000
commitee01c80afe54ece71e2da5eb86de1e7c655488f6 (patch)
treedc9fa7fd784815ddfb2d1af9d517910c098cc86b /adb/client/commandline.cpp
parent73d03dc8047edd1b3a39ebff6770826deec6c956 (diff)
downloadsystem_core-ee01c80afe54ece71e2da5eb86de1e7c655488f6.tar.gz
system_core-ee01c80afe54ece71e2da5eb86de1e7c655488f6.tar.bz2
system_core-ee01c80afe54ece71e2da5eb86de1e7c655488f6.zip
Change --fastdeploy behaviour
--fastdeploy does not require -r anymore, and reverts to a normal install if the application is not already on the device. Bug: 120828611 Test: mm -j72 Test: adb install --fastdeploy --force-agent --local-agent /mnt/raid/boat-attack-apk/boat-attack-swappy.apk Change-Id: Ice2a71493a34ee7d0debabcce6a9aebb0af79e62
Diffstat (limited to 'adb/client/commandline.cpp')
-rw-r--r--adb/client/commandline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/adb/client/commandline.cpp b/adb/client/commandline.cpp
index c11052d10..6c1def796 100644
--- a/adb/client/commandline.cpp
+++ b/adb/client/commandline.cpp
@@ -156,8 +156,8 @@ static void help() {
" --instant: cause the app to be installed as an ephemeral install app\n"
" --no-streaming: always push APK to device and invoke Package Manager as separate steps\n"
" --streaming: force streaming APK directly into Package Manager\n"
- " --fastdeploy: use fast deploy (only valid with -r)\n"
- " --no-fastdeploy: prevent use of fast deploy (only valid with -r)\n"
+ " --fastdeploy: use fast deploy\n"
+ " --no-fastdeploy: prevent use of fast deploy\n"
" --force-agent: force update of deployment agent when using fast deploy\n"
" --date-check-agent: update deployment agent when local version is newer and using fast deploy\n"
" --version-check-agent: update deployment agent when local version has different version code and using fast deploy\n"