Skip to content

Conversation

@lhuanyu
Copy link

@lhuanyu lhuanyu commented Nov 28, 2025

This pull request refactors the logic for retrieving connected Android devices in the packages/android-playground/src/bin.ts file. The main improvement is replacing manual ADB command parsing with the standardized getConnectedDevices utility from @midscene/android, resulting in cleaner and more maintainable code.

Device discovery improvements:

  • Replaced manual ADB command execution and parsing in getAdbDevices with the getConnectedDevices function from @midscene/android, ensuring more reliable and consistent device information retrieval.
  • Updated imports to include getConnectedDevices from @midscene/android, removing the need for direct ADB command usage.

Copilot AI review requested due to automatic review settings November 28, 2025 13:55
@netlify
Copy link

netlify bot commented Nov 28, 2025

Deploy Preview for midscene ready!

Name Link
🔨 Latest commit 6d6f7b6
🔍 Latest deploy log https://app.netlify.com/projects/midscene/deploys/6929a9b9c8abf0000866a238
😎 Deploy Preview https://deploy-preview-1518--midscene.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot finished reviewing on behalf of lhuanyu November 28, 2025 13:57
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@quanru quanru requested a review from Copilot December 2, 2025 14:45
Copilot finished reviewing on behalf of quanru December 2, 2025 14:47
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@quanru quanru merged commit 6482aa6 into web-infra-dev:v1 Dec 2, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants