mirror of https://github.com/mvt-project/mvt.git
Bump adb read timeout
Some adb commands (like `dumpsys`) are very slow and the default timeout is "only" 10s. A timeout of 200 seconds is chosen completely at random - works on my phone 🤷 Fixes https://github.com/mvt-project/mvt/issues/113 Fixes https://github.com/mvt-project/mvt/issues/228
This commit is contained in:
parent
681bae2f66
commit
c282d4341d
|
@ -112,7 +112,7 @@ class AndroidExtraction(MVTModule):
|
|||
:returns: Output of command
|
||||
|
||||
"""
|
||||
return self.device.shell(command)
|
||||
return self.device.shell(command, read_timeout_s=200.0)
|
||||
|
||||
def _adb_check_if_root(self):
|
||||
"""Check if we have a `su` binary on the Android device.
|
||||
|
|
Loading…
Reference in New Issue