Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 通过远端adb连续发送adb命令出现阻塞 #463

Closed
2 tasks done
gzhtest opened this issue Sep 3, 2024 · 1 comment
Closed
2 tasks done

[Bug] 通过远端adb连续发送adb命令出现阻塞 #463

gzhtest opened this issue Sep 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@gzhtest
Copy link
Contributor

gzhtest commented Sep 3, 2024

Search before asking

  • I searched in the issue and found nothing similar. | 我查找了并确认issue列表无相似报告。

Sonic version

v2.7.1

Deploy platform

Windows 10

Minimal reproduce step

①进入远程真机页面,获取远端adb
image
②connect设备
③新建test.bat,将下面内容复制到批处理文件,执行批处理文件
@echo off
:loop
adb -P 5037 -s {your-ip}:{port}shell input keyevent 3
timeout /t 1 /nobreak
goto loop

Are you willing to submit a PR?

  • I'm willing to submit a PR! | 我将发起PR!
@gzhtest gzhtest added the bug Something isn't working label Sep 3, 2024
@gzhtest gzhtest closed this as completed Sep 3, 2024
@gzhtest
Copy link
Contributor Author

gzhtest commented Sep 3, 2024

Revision: e48d8b1
Date: 2024/9/3 11:56:06
Message:
fix: 整理代码并解决调用远程ADB持续发送命令会被阻塞的问题


Modified: src/main/java/org/cloud/sonic/agent/bridge/android/AndroidSupplyTool.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant