Commit Graph

41 Commits

Author SHA1 Message Date
Gary Qian 2c0eee4392 Always set mEditable values when different in TextPlugin (#13951) 2019-11-27 07:51:04 +09:00
Matt Carroll 687a1a7541 Add support for --dart-flags in FlutterShellArgs. (#44855) (#13855) 2019-11-14 04:09:08 +00:00
chunhtai 1f1e2ba58e reland add lifecycle enum (#13767)
This reverts commit 8ebb318401.
2019-11-13 11:26:25 -08:00
Matt Carroll e19ee72f31 Expose asset lookup from plugin binding. (#42019) (#13743) 2019-11-12 07:14:27 +00:00
chunhtai 8ebb318401 Revert "Issues/39832 reland (#13642)" (#13720)
This reverts commit 1bfb928e07.
2019-11-06 11:41:36 -08:00
chunhtai 1bfb928e07 Issues/39832 reland (#13642)
* Reland "Added new lifecycle enum (#11913)"
2019-11-05 14:52:16 -08:00
chunhtai fe0838e948 Revert "Added new lifecycle enum (#11913)" (#13632)
This reverts commit 02a4790074.
2019-11-04 13:40:20 -08:00
chunhtai 02a4790074 Added new lifecycle enum (#11913) 2019-11-04 12:33:41 -08:00
xster 7aa40556a4 Release shim bindings when detaching (#13432) 2019-11-01 17:53:15 -07:00
Dan Field ced6c63d1e Request a reattach when creating the text input plugin on Android (#13474) 2019-11-01 15:29:33 -07:00
Jason Simmons c604fd4395 Pass the automaticallyRegisterPlugins flag to the FlutterEngine constructor in FlutterActivityTest (#13468) 2019-10-31 16:06:37 -07:00
Matt Carroll c882439cb3 Automatically register plugins in FlutterEngine. (#43855) (#13455) 2019-10-31 14:10:45 -07:00
Dan Field 4b76fadbf4 Fizzle onConfigurationChanged if no FlutterView (#13445) 2019-10-30 15:49:02 -07:00
Matt Carroll 97807b5341 Automatically destroy FlutterEngine when created by FlutterActivity or FlutterFragment. (#13423) 2019-10-30 15:01:57 -07:00
Matt Carroll 3ebf006904 Deprecated DartExecutor as BinaryMessenger and added a getBinaryMessenger() method. (#43202) (#13349) 2019-10-25 20:07:13 -07:00
Matt Carroll 74d18bce34 Android embedding API updates for plugin ecosystem - plugin facade, split Lifecycle, save state callbacks to plugins (#43241, #43242, #43295) (#13280) 2019-10-24 19:10:05 -07:00
Justin McCandless 7071dc7061 NO_SUGGESTIONS keyboard flag in Android (#13099)
Add the enableSuggestions parameter to control Android's keyboard suggestions
2019-10-23 10:47:19 -07:00
Matt Carroll ee91881ccc Adds Dark Mode support to new Android embedding (this was accidentally missed previously). (#13215) 2019-10-18 12:46:09 -07:00
Michael Klimushyn 531a9cfb8e Fire PlatformViewController FlutterView callbacks (#13015)
Fixes a bug where `PlatformViewController` was not being notified of `FlutterView` attachment changes.
2019-10-14 14:03:25 -07:00
Matt Carroll 9acec4102a Move initialization into FlutterEngine (#12806) 2019-10-11 16:15:55 -07:00
Matt Carroll d9d92a564b Added FlutterActivity and FlutterFragment hook to cleanUpFlutterEngine() as symmetry for configureFlutterEngine(). (#41943) (#12987) 2019-10-11 13:52:21 -07:00
Gary Qian ecf4f464c7 Restart all modern Samsung keyboard IMM (#12780) 2019-10-04 15:14:38 -04:00
Jason Simmons 5c428d9247 Check for a null input method subtype (#12706)
Fixes https://github.com/flutter/flutter/issues/41557
2019-10-01 09:03:47 -07:00
Matt Carroll 5b952f286f Forwards Flutter View to platform views and detaches when needed. (#12359) 2019-09-26 15:34:01 -07:00
Michael Klimushyn efb7bf434f Work around Samsung keyboard issue (#12432)
Samsung's Korean keyboard has a bug where it always attempts to combine
characters based on its internal state, ignoring if and when the cursor
is moved programmatically. EG typing "ㄴㅇ" and then moving the cursor
back to the front of the text and typing "ㄴ" again would result in
"ㄴㅇㄴ", not "ㄴㄴㅇ".

Fully restarting the IMM works around this because it flushes the
keyboard's internal state and stops it from trying to incorrectly
combine characters. However this also has some negative performance
implications, so we only apply the workaround on Samsung devices set
to use Korean input.

This also effectively disables the feature on Samsung keyboards that
allowed users to re-open a composing region for previously typed
characters. See https://github.com/flutter/flutter/issues/29341#issuecomment-531283508.

Fixes flutter/flutter#29341.
2019-09-25 11:16:32 -07:00