diff --git a/tools/python/util/android/android.py b/tools/python/util/android/android.py index 528a24b5074af..e767e69e0d284 100644 --- a/tools/python/util/android/android.py +++ b/tools/python/util/android/android.py @@ -237,9 +237,7 @@ def is_emulator_running_by_avd(avd_name: str) -> bool: # Step 2: Check each running emulator's AVD name for emulator in running_emulators: try: - avd_info = subprocess.check_output( - ["adb", "-s", emulator, "emu", "avd", "name"], text=True - ).strip() + avd_info = subprocess.check_output(["adb", "-s", emulator, "emu", "avd", "name"], text=True).strip() if avd_info == avd_name: return True except subprocess.SubprocessError: