Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@jonahwilliams
Copy link
Contributor

Adds a service extension _flutter.reloadAssetFonts which forces the FontCollection to re-open the font manifest and reload any changed fonts, finally dispatching a font change notification to the framework. This is half of the required changes to support flutter/flutter#49230


expect(fontChangeResponse.type, 'Success');
expect(
await completer.future.timeout(const Duration(minutes: 3)),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

🤷‍♂️

Copy link
Member

Choose a reason for hiding this comment

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

Why not forever?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Don't know, worried about what happens if this test breaks. Does the entire shard time out at 60 minutes?

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 8, 2022
@auto-submit auto-submit bot merged commit 8853dff into flutter:main Aug 8, 2022
@jonahwilliams jonahwilliams deleted the hot_reload_fonts branch August 8, 2022 18:06
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 8, 2022
emilyabest pushed a commit to emilyabest/engine that referenced this pull request Aug 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants