summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--adbconnection/adbconnection.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/adbconnection/adbconnection.cc b/adbconnection/adbconnection.cc
index a0c99663b4..07fe9b60dd 100644
--- a/adbconnection/adbconnection.cc
+++ b/adbconnection/adbconnection.cc
@@ -539,7 +539,9 @@ bool AdbConnectionState::SetupAdbConnection() {
return false;
}
} else {
- PLOG(ERROR) << "Can't connect to ADB control socket. Will retry.";
+ if (VLOG_IS_ON(jdwp)) {
+ PLOG(ERROR) << "Can't connect to ADB control socket. Will retry.";
+ }
usleep(sleep_ms * 1000);