From db94c41d4fccd5a6337f19fa96a479577b848e2a Mon Sep 17 00:00:00 2001 From: Jian Chen Date: Fri, 15 Nov 2024 17:00:49 -0800 Subject: [PATCH] Update tools/python/util/android/android.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- tools/python/util/android/android.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/python/util/android/android.py b/tools/python/util/android/android.py index a50f894b3525c..528a24b5074af 100644 --- a/tools/python/util/android/android.py +++ b/tools/python/util/android/android.py @@ -215,6 +215,7 @@ def start_emulator( raise RuntimeError("Emulator failed to start.") return emulator_process + def is_emulator_running_by_avd(avd_name: str) -> bool: """ Check if an emulator is running based on the provided AVD name.