diff options
author | Luca Stefani <luca.stefani.ge1@gmail.com> | 2020-03-11 12:16:38 +0100 |
---|---|---|
committer | Luca Stefani <luca.stefani.ge1@gmail.com> | 2020-03-13 23:30:46 +0100 |
commit | 0074ceb72f1ea7950d1c425a186287eaf9b11d30 (patch) | |
tree | f1ffabd26979f0a6f2d82b8ea73358964f893844 /adb/client/commandline.cpp | |
parent | 397d29493abc29a09f170a103b41e3e0f3e9f184 (diff) | |
download | system_core-0074ceb72f1ea7950d1c425a186287eaf9b11d30.tar.gz system_core-0074ceb72f1ea7950d1c425a186287eaf9b11d30.tar.bz2 system_core-0074ceb72f1ea7950d1c425a186287eaf9b11d30.zip |
Revert "adb: Add wait-for-online command"
Replaced by upstream impl
This reverts commit 833628c620705393cfe0a5a1d87560e7bd6551bd.
Change-Id: I47b65162188b77dffd1fff564baf7ae4bdb16ac5
Diffstat (limited to 'adb/client/commandline.cpp')
-rw-r--r-- | adb/client/commandline.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/adb/client/commandline.cpp b/adb/client/commandline.cpp index 4cad03a8f..db9057333 100644 --- a/adb/client/commandline.cpp +++ b/adb/client/commandline.cpp @@ -191,7 +191,7 @@ static void help() { "scripting:\n" " wait-for[-TRANSPORT]-STATE\n" " wait for device to be in the given state\n" - " STATE: device, recovery, rescue, sideload, bootloader, online, or disconnect\n" + " STATE: device, recovery, rescue, sideload, bootloader, or disconnect\n" " TRANSPORT: usb, local, or any [default=any]\n" " get-state print offline | bootloader | device\n" " get-serialno print <serial-number>\n" @@ -1090,11 +1090,11 @@ static bool wait_for_device(const char* service, if (components[3] != "any" && components[3] != "bootloader" && components[3] != "device" && components[3] != "recovery" && components[3] != "rescue" && components[3] != "sideload" && - components[3] != "online" && components[3] != "disconnect") { + components[3] != "disconnect") { fprintf(stderr, "adb: unknown state %s; " - "expected 'any', 'bootloader', 'device', 'recovery', 'rescue', 'sideload', " - "'online', or 'disconnect'\n", + "expected 'any', 'bootloader', 'device', 'recovery', 'rescue', 'sideload', or " + "'disconnect'\n", components[3].c_str()); return false; } |