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

Add profilePlatformChannels service extension #136051

Merged
merged 7 commits into from Oct 11, 2023

Conversation

kenzieschmoll
Copy link
Member

@kenzieschmoll kenzieschmoll commented Oct 5, 2023

We will expose this from a button in DevTools.
flutter/devtools#6166

@github-actions github-actions bot added the framework flutter/packages/flutter repository. See also f: labels. label Oct 5, 2023
Copy link
Member

@jiahaog jiahaog left a comment

Choose a reason for hiding this comment

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

Thanks for doing this so quickly! This LGTM, but Aaron had some previous concerns around making kProfilePlatformChannels a mutable variable though.

I'm in favour of this change because I think making that variable mutable should compile down to just a few more instructions (?) per platform message, and the usability tradeoffs could be worth it (instead of other implementations of doing so which might require us to recompile the whole application to toggle this on).

WDYT @gaaclarke / @dnfield ?

Copy link
Member

@gaaclarke gaaclarke left a comment

Choose a reason for hiding this comment

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

LGTM!

packages/flutter/lib/src/services/platform_channel.dart Outdated Show resolved Hide resolved
Copy link
Member

@jiahaog jiahaog left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

packages/flutter/lib/src/services/platform_channel.dart Outdated Show resolved Hide resolved
@kenzieschmoll kenzieschmoll merged commit a047358 into flutter:master Oct 11, 2023
67 checks passed
@kenzieschmoll kenzieschmoll deleted the platformChannels branch October 11, 2023 17:45
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 12, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 12, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants