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

Conversation

@GaryQian
Copy link
Contributor

@GaryQian GaryQian commented Oct 10, 2018

Locale needs to support scriptCode and variantCode. This passes these two values through the engine to the Window dart object but does not integrate Locale because #6481 has not yet landed.

@GaryQian GaryQian changed the title Pass script code and variant code to dart:ui Window. Pass Locale script code and variant code to dart:ui Window. Oct 10, 2018

const auto& language = args->value[0];
const auto& country = args->value[1];
const auto& script = args->value[2];
Copy link
Member

Choose a reason for hiding this comment

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

A bounds check on the args is necessary here. Android wont send these extra argument values currently.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed it to send these values. See FlutterView.java:320

@GaryQian GaryQian merged commit 61cf4c0 into flutter:master Oct 11, 2018
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 11, 2018
flutter/engine@daed2b7...f307c7f

git log daed2b7..f307c7f --no-merges --oneline
f307c7f Remove VM options that are on by default now. (flutter/engine#6495)
61cf4c0 Pass scriptcode and variantcode to dart:ui Window. (flutter/engine#6493)
0eda0cf Roll src/third_party/skia 04ac46135f23..9835dd51b320 (7 commits) (flutter/engine#6494)

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.
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Oct 11, 2018
flutter/engine@daed2b7...f307c7f

git log daed2b7..f307c7f --no-merges --oneline
f307c7f Remove VM options that are on by default now. (flutter/engine#6495)
61cf4c0 Pass scriptcode and variantcode to dart:ui Window. (flutter/engine#6493)
0eda0cf Roll src/third_party/skia 04ac46135f23..9835dd51b320 (7 commits) (flutter/engine#6494)


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 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.

3 participants