-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Bugfix: Add platformBrightness to TestWindow. #27569
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
Bugfix: Add platformBrightness to TestWindow. #27569
Conversation
jonahwilliams
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
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))
|
@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. |
liyuqian
left a comment
There was a problem hiding this 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.
* 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))
Bugfix: Add platformBrightness to TestWindow.
Cause of bug: I merged the following
TestWindow implementation in framework that implements Window
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)