Merge "Fix the sense of a test in "adb sideload"."
This commit is contained in:
commit
62cc17de8c
1 changed files with 1 additions and 1 deletions
|
@ -889,7 +889,7 @@ static int adb_sideload_host(const char* fn) {
|
|||
android::base::StringPrintf("sideload-host:%d:%d", sz, SIDELOAD_HOST_BLOCK_SIZE);
|
||||
std::string error;
|
||||
unique_fd fd(adb_connect(service, &error));
|
||||
if (fd >= 0) {
|
||||
if (fd < 0) {
|
||||
// Try falling back to the older sideload method. Maybe this
|
||||
// is an older device that doesn't support sideload-host.
|
||||
printf("\n");
|
||||
|
|
Loading…
Reference in a new issue