-
Notifications
You must be signed in to change notification settings - Fork 17
Replace LocalizationChannel with system_utils #147
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
Replace LocalizationChannel with system_utils #147
Conversation
07985a7
to
b338e26
Compare
I totally agree with you! The only reason I'm wary of the _linux suffix is that the linux port is already in use. |
f79e068
to
2359b26
Compare
I got following error code at x64 build
|
2359b26
to
3e48787
Compare
@bwikbs Uh, my mistake. Something went wrong during the last rebase. The error should have been fixed now. |
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!
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.
Thanks! It's pretty cool 👍
* Remove LocalizationChannel and move the logic to FlutterTizenEngine * Create system_utils and add the desktop implementation * Organize includes
* Remove LocalizationChannel and move the logic to FlutterTizenEngine * Create system_utils and add the desktop implementation * Organize includes
* Remove LocalizationChannel and move the logic to FlutterTizenEngine * Create system_utils and add the desktop implementation * Organize includes
* Remove LocalizationChannel and move the logic to FlutterTizenEngine * Create system_utils and add the desktop implementation * Organize includes
* Remove LocalizationChannel and move the logic to FlutterTizenEngine * Create system_utils and add the desktop implementation * Organize includes
* Remove LocalizationChannel and move the logic to FlutterTizenEngine * Create system_utils and add the desktop implementation * Organize includes
* Remove LocalizationChannel and move the logic to FlutterTizenEngine * Create system_utils and add the desktop implementation * Organize includes
* Remove LocalizationChannel and move the logic to FlutterTizenEngine * Create system_utils and add the desktop implementation * Organize includes
* Remove LocalizationChannel and move the logic to FlutterTizenEngine * Create system_utils and add the desktop implementation * Organize includes
LocalizationChannel
, because it doesn't act like a channel or plugin.system_utils.h
, similarly to other platform embedders. More functions may be added in this file in the future.system_utils_tizen.cc
andsystem_utils_linux.cc
for the Tizen and Linux x64 embedders respectively.Note:
SendPlatformResolvedLocale
method has been removed because it's not used by anything. The functionality has been moved to the embedder API (FlutterProjectArgs.compute_platform_resolved_locale_callback
). I don't think we need to implement it.@bbrto21 and I have agreed to use the
_tizen.cc
and_linux.cc
filename suffixes for Tizen and Linux-specific implementations. How do you think? @bwikbs (The use of_stub.cc
is to indicate the "unimplemented" state of the code and should be eliminated eventually.)