Index: infra/bots/flavor/android_flavor.py |
diff --git a/infra/bots/flavor/android_flavor.py b/infra/bots/flavor/android_flavor.py |
index 5a30079951dc6c21c740950ef746c9cd46366fbd..754e23ca3072f9f48d4a946c8c9d0412ed41df6e 100644 |
--- a/infra/bots/flavor/android_flavor.py |
+++ b/infra/bots/flavor/android_flavor.py |
@@ -31,6 +31,12 @@ class _ADBWrapper(object): |
] |
self._android_flavor._bot_info.run( |
cmd, env=self._android_flavor._default_env) |
+ cmd = [ |
+ os.path.join(self._android_flavor.android_bin, 'adb_wait_for_charge'), |
+ '-s', self._serial, |
+ ] |
+ self._android_flavor._bot_info.run( |
+ cmd, env=self._android_flavor._default_env) |
def maybe_wait_for_device(self): |
"""Run 'adb wait-for-device' if it hasn't already been run.""" |