Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

Commit

Permalink
Bug 1214530 - Autophone - do not repeat wait-for-device in adb comman…
Browse files Browse the repository at this point in the history
…ds, r=jmaher.
  • Loading branch information
bclary committed Oct 14, 2015
1 parent f0ee77c commit 51f5412
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adb_android.py
Expand Up @@ -69,7 +69,7 @@ def is_device_ready(self, timeout=None):
* ADBError
"""
self.command_output(["wait-for-device"], timeout=timeout)
self.command_output([], timeout=timeout)
pm_error_string = "Error: Could not access the Package Manager"
pm_list_commands = ["packages", "permission-groups", "permissions",
"instrumentation", "features", "libraries"]
Expand Down Expand Up @@ -153,7 +153,7 @@ def reboot(self, timeout=None):
"""
self.command_output(["reboot"], timeout=timeout)
self.command_output(["wait-for-device"], timeout=timeout)
self.command_output([], timeout=timeout)
return self.is_device_ready(timeout=timeout)

# Application management methods
Expand Down

0 comments on commit 51f5412

Please sign in to comment.