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

Re-land "Buffer lifecycle in WindowData"" #8025

Closed
wants to merge 2 commits into from

Conversation

GaryQian
Copy link
Contributor

@GaryQian GaryQian commented Mar 4, 2019

Relands #8010

Will require some framework-side testing updates (TestWindow class) flutter/flutter#28688 to support this.

@@ -291,6 +291,8 @@ bool Engine::HandleLifecyclePlatformMessage(blink::PlatformMessage* message) {
if (state == "AppLifecycleState.resumed" && have_surface_) {
ScheduleFrame();
}
runtime_controller_->SetLifecycleState(state);
// We always want pass the message forwards directly into the framework.
Copy link
Member

Choose a reason for hiding this comment

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

Would like to clarify this comment. How about something like Always forward these messages to the framework?

@GaryQian
Copy link
Contributor Author

GaryQian commented Mar 5, 2019

Abandoned in favor of #8032

@GaryQian GaryQian closed this Mar 5, 2019
@dnfield dnfield deleted the revert-8010-revert-7999-lifecycle2 branch June 27, 2019 22:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants