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

use deviceManager discovery in daemon protocol #28341

Merged

Conversation

jonahwilliams
Copy link
Member

@jonahwilliams jonahwilliams commented Feb 22, 2019

Description

Use the device discovery provided via the deviceManager. This allows client provided device types to be used via the flutter daemon protocol.

Related Issues

b/124835104

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • My PR includes tests for all changed/updated/fixed behaviors (See Test Coverage).
  • All existing and new tests are passing.
  • I updated/added relevant documentation (doc comments with ///).
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require Flutter developers to manually update their apps to accommodate your change?

@jonahwilliams
Copy link
Member Author

cc @devoncarew @DaveShuckerow - There is more context on the internal bug b/124835104

@zoechi zoechi added the tool Affects the "flutter" command-line tool. See also t: labels. label Feb 22, 2019
@jonahwilliams jonahwilliams marked this pull request as ready for review February 22, 2019 21:42
@jonahwilliams
Copy link
Member Author

@devoncarew PTAL when you have a few minutes

Copy link
Member

@devoncarew devoncarew left a comment

Choose a reason for hiding this comment

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

lgtm, one comment re: naming for a getter

packages/flutter_tools/lib/src/device.dart Outdated Show resolved Hide resolved
LinuxDevices(),
WindowsDevices(),
]);
] + _maybeAddDesktop);
Copy link
Member

Choose a reason for hiding this comment

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

I did not know that the additional operator worked for lists...

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it was added in 2.0 or shortly thereafter

@jonahwilliams jonahwilliams merged commit e9b935b into flutter:master Feb 26, 2019
@jonahwilliams jonahwilliams deleted the add_device_manager_to_daemon branch February 26, 2019 20:02
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants