Skip to content

Conversation

@matthew-carroll
Copy link
Contributor

@matthew-carroll matthew-carroll commented Feb 5, 2019

Bugfix: Add platformBrightness to TestWindow.

Cause of bug: I merged the following

  1. TestWindow implementation in framework that implements Window

  2. Added platformBrightness to Window definition in engine, but forgot to add corresponding implementations to TestWindow

This broke the framework because TestWindow no longer fully implemented Window.

This PR adds the necessary Window implementations to TestWindow.

This PR also rolls the engine with the following commits:
git log 93aa035..cc27caf --no-merges --oneline
cc27caf Implemented Dark Mode for Android (#25525) (flutter/engine#7488)
9c05cbc Roll src/third_party/dart b53dceadaa..5823be65af (5 commits) 5823be65af [vm/compiler] Continued graph checker development (reland) 8231cdb7a3 [gardening] Update status for issue 35854 db7f848632 [vm] Remove dead BigInt code. 35ab1755f4 Support more type propagation for code-as-ui features 569ee07f91 [vm] Cleanup class finalization checks
ec5e6f6 Ensure dart2js and kernel worker snapshots are copied out of gen dir (flutter/engine#7692)
8b5fa65 Roll src/third_party/skia 50ea3c06b80f..2d35a1c87553 (6 commits) (flutter/engine#7693)

Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

LGTM

@matthew-carroll
Copy link
Contributor Author

Related question for @Hixie and @goderbauer - how do we generally handle interfaces and dependencies that cross the framework/engine barrier? I don't think our automation even has a way to verify such changes, does it? For example, in this case I think what happened is that I merged in engine changes that broke the framework, but the framework breakage was not caught by CI...

cc27caf Implemented Dark Mode for Android (flutter#25525) ([flutter/engine#7488](flutter/engine#7488))
9c05cbc Roll src/third_party/dart b53dceadaa..5823be65af (5 commits) 5823be65af [vm/compiler] Continued graph checker development (reland) 8231cdb7a3 [gardening] Update status for issue 35854 db7f848632 [vm] Remove dead BigInt code. 35ab1755f4 Support more type propagation for code-as-ui features 569ee07f91 [vm] Cleanup class finalization checks
ec5e6f6 Ensure dart2js and kernel worker snapshots are copied out of gen dir ([flutter/engine#7692](flutter/engine#7692))
8b5fa65 Roll src/third_party/skia 50ea3c06b80f..2d35a1c87553 (6 commits) ([flutter/engine#7693](flutter/engine#7693))
@goderbauer
Copy link
Member

@matthew-carroll CI did catch it on the failing engine roll (https://cirrus-ci.com/task/5997428453933056), which showed that the framework was not ready to have the engine-side changes rolled in. The current way to handle this is a manual engine roll.

Copy link
Contributor

@liyuqian liyuqian left a comment

Choose a reason for hiding this comment

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

Nit: just added engine commits to the PR description. Please remember to include them when this is merged.

@matthew-carroll matthew-carroll merged commit 914f77f into flutter:master Feb 5, 2019
kangwang1988 pushed a commit to XianyuTech/flutter that referenced this pull request Feb 12, 2019
* Bugfix: Add platformBrightness to TestWindow.

* Manual engine roll:

cc27caf Implemented Dark Mode for Android (flutter#25525) ([flutter/engine#7488](flutter/engine#7488))
9c05cbc Roll src/third_party/dart b53dceadaa..5823be65af (5 commits) 5823be65af [vm/compiler] Continued graph checker development (reland) 8231cdb7a3 [gardening] Update status for issue 35854 db7f848632 [vm] Remove dead BigInt code. 35ab1755f4 Support more type propagation for code-as-ui features 569ee07f91 [vm] Cleanup class finalization checks
ec5e6f6 Ensure dart2js and kernel worker snapshots are copied out of gen dir ([flutter/engine#7692](flutter/engine#7692))
8b5fa65 Roll src/third_party/skia 50ea3c06b80f..2d35a1c87553 (6 commits) ([flutter/engine#7693](flutter/engine#7693))
@zoechi zoechi added the a: tests "flutter test", flutter_test, or one of our tests label Feb 12, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

a: tests "flutter test", flutter_test, or one of our tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants