mirror of
https://github.com/mvt-project/mvt.git
synced 2026-05-19 23:14:42 +02:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user