Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3013)

Unified Diff: build/android/device_status_check.py

Issue 16196004: Do not alert if devices with user/eng Android builds are not provisioned (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Alert for userdebug and eng builds Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/device_status_check.py
diff --git a/build/android/device_status_check.py b/build/android/device_status_check.py
index e7ab75d97e717f5b37d0034f8b940f975108f3ad..0fe0b3a63fbe376ae34048385874411b275432f5 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.']
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698