зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1218997 - [mozdevice] adb_android.py ADBDevice.power_on() requires root, r=gbrown.
This commit is contained in:
Родитель
66e5eee002
Коммит
4e47253aa0
|
@ -137,7 +137,9 @@ class ADBAndroid(ADBDevice):
|
|||
* ADBError
|
||||
"""
|
||||
try:
|
||||
self.shell_output('svc power stayon true', timeout=timeout)
|
||||
self.shell_output('svc power stayon true',
|
||||
timeout=timeout,
|
||||
root=True)
|
||||
except ADBError, e:
|
||||
# Executing this via adb shell errors, but not interactively.
|
||||
# Any other exitcode is a real error.
|
||||
|
|
Загрузка…
Ссылка в новой задаче