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

Flush UserSettings to window #6850

Merged
merged 1 commit into from
Nov 14, 2018
Merged

Conversation

dnfield
Copy link
Contributor

@dnfield dnfield commented Nov 14, 2018

Fixes flutter/flutter#19145

When the engine is hot restarted, we're not flushing the user settings down to the window again, which results in them getting defaulted to potentially incorrect values.

This should fix that on both Android and iOS (this bug was original reported for iOS targets).

Copy link
Member

@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

@dnfield dnfield merged commit 396402f into flutter:master Nov 14, 2018
@dnfield dnfield deleted the flush_usersettings branch November 14, 2018 07:42
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Nov 14, 2018
flutter/engine@b10b8e8...114d33d

git log b10b8e8..114d33d --no-merges --oneline
114d33d Set and unset accessibility flags even when re-entrant (flutter/engine#6853)
396402f Flush UserSettings to window (flutter/engine#6850)
1e7e676 Remove unused import (flutter/engine#6854)


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, who should
be CC'd on the roll, and stop the roller if necessary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

window.textScaleFactor set to 1.0 on hot restart
3 participants