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

Buffer lifecycle in WindowData #7999

Merged
merged 2 commits into from Mar 1, 2019
Merged

Conversation

GaryQian
Copy link
Contributor

@GaryQian GaryQian commented Mar 1, 2019

This buffers the lifecycle state in WindowData and provides a way for the framework bindings to initialize the state to the buffered value at startup.

Part of the fix for flutter/flutter#2716. Framework side is flutter/flutter#28688

@matthew-carroll
Copy link
Contributor

Generally LGTM from a Java developer's perspective. But please wait for an engine side LGTM as well.

I'd like to confirm, are we sure the window is the right place for lifecycle data? I know it's an easy place to add a property, but is that the logical place for it from a Flutter app perspective?

@GaryQian
Copy link
Contributor Author

GaryQian commented Mar 1, 2019

WindowData is currently the location where we store all data that should be cached before the dart isolate is initialized. This data also persists on a hot restart. I'll verify with jason or chinmay about the placement though.

@GaryQian GaryQian merged commit 0b17401 into flutter:master Mar 1, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 1, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 1, 2019
gspencergoog pushed a commit to gspencergoog/engine that referenced this pull request Mar 1, 2019
GaryQian added a commit that referenced this pull request Mar 1, 2019
GaryQian added a commit that referenced this pull request Mar 1, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 2, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 2, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Mar 2, 2019
flutter/engine@6604216...39c46de

git log 6604216..39c46de --no-merges --oneline
39c46de Revert "Buffer lifecycle in WindowData (#7999)" (flutter/engine#8010)
293cfca Guard against using Android API not defined in API level 16 & 17 (flutter/engine#8006)
d7e0bc1 Roll src/third_party/skia 71a23d4195d9..e1f5b644656f (8 commits) (flutter/engine#8004)
0b17401 Buffer lifecycle in WindowData (flutter/engine#7999)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (garyq@google.com), and stop
the roller if necessary.
GaryQian added a commit that referenced this pull request Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants