summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorsivachandra@chromium.org <sivachandra@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-08 05:02:45 +0000
committersivachandra@chromium.org <sivachandra@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-08 05:02:45 +0000
commit4ef75e95ad199f703d905337e3cec2d2eb1345d8 (patch)
tree16e46d87f56e6bf46bbf393a340b003cc7b84e9f /build
parentd734fc4845a95e7ac3b2279e3e359fc2310b6013 (diff)
downloadchromium_src-4ef75e95ad199f703d905337e3cec2d2eb1345d8.zip
chromium_src-4ef75e95ad199f703d905337e3cec2d2eb1345d8.tar.gz
chromium_src-4ef75e95ad199f703d905337e3cec2d2eb1345d8.tar.bz2
Do not alert if devices with user/eng Android builds are not provisioned.
BUG=245058 Review URL: https://chromiumcodereview.appspot.com/16196004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205021 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-xbuild/android/device_status_check.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/android/device_status_check.py b/build/android/device_status_check.py
index e7ab75d9..0fe0b3a 100755
--- a/build/android/device_status_check.py
+++ b/build/android/device_status_check.py
@@ -35,6 +35,7 @@ def DeviceInfo(serial):
device_type = AdbShellCmd('getprop ro.build.product')
device_build = AdbShellCmd('getprop ro.build.id')
+ device_build_type = AdbShellCmd('getprop ro.build.type')
device_product_name = AdbShellCmd('getprop ro.product.name')
setup_wizard_disabled = AdbShellCmd(
@@ -71,7 +72,7 @@ def DeviceInfo(serial):
errors = []
if battery_level < 5:
errors += ['Device critically low in battery. Do not use for testing.']
- if not setup_wizard_disabled:
+ if not setup_wizard_disabled and device_build_type != 'user':
errors += ['Setup wizard not disabled. Was it provisioned correctly?']
if device_product_name == 'mantaray' and ac_power != 'true':
errors += ['Mantaray device not connected to AC power.']