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

Unified Diff: appengine/swarming/swarming_bot/api/platforms/android.py

Issue 2351383002: swarming: Don't attempt to root android devices at every get_devices() (Closed)
Patch Set: Created 4 years, 3 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: appengine/swarming/swarming_bot/api/platforms/android.py
diff --git a/appengine/swarming/swarming_bot/api/platforms/android.py b/appengine/swarming/swarming_bot/api/platforms/android.py
index b6b397b9403d51b8da64fe0e56c8d10db41c8590..9132d7dcddda7f68809b69d3fd71752d0f9479a8 100644
--- a/appengine/swarming/swarming_bot/api/platforms/android.py
+++ b/appengine/swarming/swarming_bot/api/platforms/android.py
@@ -111,12 +111,12 @@ def get_devices(bot, endpoints=None):
if not gce.is_gce():
devices += high.GetLocalDevices(
'swarming', 10000, 10000, on_error=bot.post_error if bot else None,
- as_root=True)
+ as_root=False)
if endpoints:
devices += high.GetRemoteDevices(
'swarming', endpoints, 10000, 10000,
- on_error=bot.post_error if bot else None, as_root=True)
+ on_error=bot.post_error if bot else None, as_root=False)
return devices
« 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