aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools/android/bin
diff options
context:
space:
mode:
authorGravatar borenet <borenet@chromium.org>2016-04-28 09:31:38 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-28 09:31:38 -0700
commit8795962bafc636768ede497a2da4a0a584664816 (patch)
tree8f70fc06c679ce39197dcd20cc4c0c449cc0ea4e /platform_tools/android/bin
parentd77ac7792405814fac3fdf229dea348dede650f1 (diff)
Stop printing warnings about ADB version
Diffstat (limited to 'platform_tools/android/bin')
-rw-r--r--platform_tools/android/bin/utils/setup_adb.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/platform_tools/android/bin/utils/setup_adb.sh b/platform_tools/android/bin/utils/setup_adb.sh
index 87dcb0f031..81e4851cef 100644
--- a/platform_tools/android/bin/utils/setup_adb.sh
+++ b/platform_tools/android/bin/utils/setup_adb.sh
@@ -25,20 +25,3 @@ if [ ! -x $ADB ]; then
echo "The adb binary is not executable"
exit 1
fi
-
-if [ $(uname) == "Linux" ]; then
- ADB_REQUIRED="1.0.32 or 1.0.35"
-elif [ $(uname) == "Darwin" ]; then
- ADB_REQUIRED="1.0.31 or 1.0.32"
-fi
-
-# get the version string as an array, use just the version numbers
-ADB_VERSION="$($ADB version)"
-ADB_VERSION=($ADB_VERSION)
-ADB_VERSION=${ADB_VERSION[4]}
-
-if [[ "$ADB_REQUIRED" != *"$ADB_VERSION"* ]]; then
- echo "WARNING: Your ADB version is out of date!"
- echo " Expected ADB Version: ${ADB_REQUIRED}"
- echo " Actual ADB Version: ${ADB_VERSION}"
-fi