mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
Bug 1218997 - [mozdevice] adb_android.py ADBDevice.power_on() requires root, r=gbrown.
This commit is contained in:
parent
66e5eee002
commit
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.
|
||||
|
Loading…
Reference in New Issue
Block a user