From 3fbc52eaeadbea539a39418b410ee8c4597a1332 Mon Sep 17 00:00:00 2001 From: 0O0o0oOoO00 <11174151+0O0o0oOoO00@users.noreply.github.com> Date: Sun, 18 May 2025 21:25:52 +0800 Subject: [PATCH] add: wait for cloud phone adb --- module/cloud_phone/run.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module/cloud_phone/run.py b/module/cloud_phone/run.py index 6466f2223..e3d03d5bd 100644 --- a/module/cloud_phone/run.py +++ b/module/cloud_phone/run.py @@ -71,6 +71,9 @@ class CloudPhoneRestart(ModuleBase): return True return False + def wait_for_adb(self): + logger.info("Wait for adb of cloud phone") + time.sleep(15) def wait_for_ready(self): wait_timer = Timer(60) @@ -88,6 +91,7 @@ class CloudPhoneRestart(ModuleBase): self.load_chinac_api() self.phone_restart() self.wait_for_ready() + self.wait_for_adb() self.config.task_delay(server_update=True) except Exception as e: logger.exception(e)