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

feat(Adb): list devices _and_ emulators in one go #1125

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

raphinesse
Copy link
Contributor

Motivation and Context

Previously Adb.devices returned either emulators or devices. This change allows one to get a list of devices and emulators in one go. This enables refactors that improve performance & stability.

This PR is a dependency of #1101.

Description

  • Adb.devices now returns the IDs of all targets in the state device
  • device.list and emulator.list_started implement the respective filtering (in a simpler manner than Adb.devices did)
  • Adapted the unit tests accordingly

Testing

  • Automated unit tests
  • Manual testing

@raphinesse raphinesse added this to the 9.0.1 milestone Nov 17, 2020
@raphinesse raphinesse requested review from erisu and breautek November 17, 2020 14:22
raphinesse added a commit to raphinesse/cordova-android that referenced this pull request Nov 17, 2020
Copy link
Contributor

@breautek breautek left a comment

Choose a reason for hiding this comment

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

lgtm

@raphinesse raphinesse merged commit aa679ea into apache:master Nov 19, 2020
@raphinesse raphinesse deleted the all-adb.devices branch November 19, 2020 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants