-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
flutter/engine
#34243Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: internationalizationSupporting other languages or locales. (aka i18n)Supporting other languages or locales. (aka i18n)customer: googleVarious Google teamsVarious Google teamsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specifically
Description
b/171162563
https://github.com/flutter/engine/blob/e698079ec95df82cfc0550fb439bd2e99c37eff1/shell/platform/android/io/flutter/embedding/android/FlutterView.java#L1198 should happen in the FlutterEngine initialization rather than in FlutterView. The context it needs is just the application context. We don't need an activity or a view there.
Otherwise, code running with just an engine and no view won't have any locales read from the system. Related #99504
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: internationalizationSupporting other languages or locales. (aka i18n)Supporting other languages or locales. (aka i18n)customer: googleVarious Google teamsVarious Google teamsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specifically