aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools
diff options
context:
space:
mode:
authorGravatar borenet <borenet@google.com>2015-09-03 10:41:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-03 10:41:07 -0700
commitad54ffc235ea02438a8510feccba9657033b5ec5 (patch)
tree8464d3d2461b01a2208305a81667f247a7d93872 /platform_tools
parentfbf908c857069b8988a3b0e7c5e706d8d392e898 (diff)
adb_wait_for_device: Skip `adb wait-for-device`
This should still wait for the device to be attached and finished booting, but will prevent no-output timeouts due to `adb wait-for-device` never finishing. The effect should be that, when an Android device is disconnected, the "wait for device" step will run forever, or until the device reconnects. This should prevent a disconnected device from spreading purple all over the status page. BUG=skia: Review URL: https://codereview.chromium.org/1315753010
Diffstat (limited to 'platform_tools')
-rwxr-xr-xplatform_tools/android/bin/adb_wait_for_device2
1 files changed, 0 insertions, 2 deletions
diff --git a/platform_tools/android/bin/adb_wait_for_device b/platform_tools/android/bin/adb_wait_for_device
index 52e16996cc..0b640d22b4 100755
--- a/platform_tools/android/bin/adb_wait_for_device
+++ b/platform_tools/android/bin/adb_wait_for_device
@@ -9,8 +9,6 @@ source $SCRIPT_DIR/utils/setup_adb.sh
set -e
set -x
-$ADB $DEVICE_SERIAL wait-for-device
-
while [ "$($ADB $DEVICE_SERIAL shell getprop sys.boot_completed | tr -d '\r')" != "1" ]; do
sleep 5
done