diff --git a/src/tools/interop/idt/capture/platform/android/capabilities.py b/src/tools/interop/idt/capture/platform/android/capabilities.py index 28ee0699439319..ef54ef513287e1 100644 --- a/src/tools/interop/idt/capture/platform/android/capabilities.py +++ b/src/tools/interop/idt/capture/platform/android/capabilities.py @@ -20,15 +20,15 @@ def __init__(self, platform: "Android"): self.is_64 = False def check_capabilities(self): - self.logger.info("Checking if device has tcpdump") - self.has_tcpdump = self.platform.run_adb_command( - "shell which tcpdump", capture_output=True).finished_success() self.logger.info("Checking if device has root") self.has_root = self.platform.run_adb_command( "shell which su", capture_output=True).finished_success() if self.has_root: self.logger.warning("adb root!") Bash("adb root", sync=True).start_command() + self.logger.info("Checking if device has tcpdump") + self.has_tcpdump = self.platform.run_adb_command( + "shell which tcpdump", capture_output=True).finished_success() self.logger.info("Checking device CPU arch") cpu_arch_return = self.platform.run_adb_command( "shell cat /proc/cpuinfo | grep rch", capture_output=True)