1157 Commits

Author SHA1 Message Date
gaaclarke
58151aed7d Switched assert(x > 0) to assert(x != 0) to handle tagged pointers in java (flutter/engine#25174) 2021-03-23 18:19:56 +08:00
Gary Qian
5359dffc36 [deferred components] Handle base module loading units (flutter/engine#24983) 2021-03-15 17:48:01 -07:00
Gary Qian
3f022df5d0 Rename moduleName to componentName for consistency (flutter/engine#24906) 2021-03-10 03:20:01 -08:00
xster
c0b9da55ea update links from https://github.com/flutter/engine/pull/24766 (flutter/engine#24818) 2021-03-09 23:45:02 -08:00
Ren You
4885af8ae3 Revert "Fix memory leak and bug in the RunsOnCreationTaskRunner check (#24690)" (flutter/engine#24874)
This reverts commit e0a475111216cf4775e08441100c0b6a24fd8b84.
2021-03-09 06:29:42 -08:00
Chris Bracken
13cf185e1c Correct setup-related typos (flutter/engine#24846)
Corrects uses of setup as a verb to 'set up', leaves noun/noun-phrase
forms of setup as 'setup'. Also settles on 'teardown' as opposed to
tear-down for consistency across the codebase.

A few other minor comment/wording corrections.
2021-03-08 17:31:10 -08:00
Emmanuel Garcia
503af63aef Prevent race condition while switching surfaces (flutter/engine#24838) 2021-03-05 21:50:13 -08:00
Emmanuel Garcia
e5ca96cc41 Revert "Replace Flutter surface only after all platform views are destroyed (#24363)" (flutter/engine#24800)
This reverts commit 5d850382d4205a9e2f5d42383d63ecb8cae2247b.
2021-03-05 10:45:20 -08:00
chunhtai
92d11213ff Adds set text action for voice access (flutter/engine#24734) 2021-03-04 17:44:01 -08:00
Chris Bracken
e77d5ec898 Move CIPD package creation tools under tools/cipd (flutter/engine#24766)
This moves tooling related to the creation of the Android embedding
bundle CIPD package under tools/cipd. Having a single location for CIPD
package creation tooling avoids spreading these around the tree and aids
in discovery.

This does not change the path within the CIPD package repo, nor does it
change the path to which we download it via gclient as specified in the
DEPS file.

This will be followed by a patch to add a new Windows CIPD package
necessary for UWP builds.
2021-03-03 15:21:28 -08:00
Emmanuel Garcia
e0a4751112 Fix memory leak and bug in the RunsOnCreationTaskRunner check (flutter/engine#24690) 2021-03-02 12:39:02 -08:00
gaaclarke
1601ba9329 Fixed problem where AndroidShellHolder was trashing the ThreadHost in its deconstructor (flutter/engine#24644) 2021-02-26 08:55:06 -08:00
Lau Ching Jun
3ef9020448 Add method to obtain native string resource in localization plugin. (flutter/engine#24575) 2021-02-24 23:03:31 -08:00
LongCatIsLooong
271538aefa Passthrough movement keys when theres no selection (flutter/engine#24581) 2021-02-23 20:41:01 -08:00
Nitrogen
8c79b99623 Delete multi set intent parameter (flutter/engine#24543) 2021-02-23 15:31:01 -08:00
LongCatIsLooong
98147bb6dc Revert "[Android Text Input] Remove Samsung restart input workaround for newer Samsung keyboards (#24288)" (flutter/engine#24486) 2021-02-18 11:26:01 -08:00
LongCatIsLooong
7694881296 [Android text input] fix android autofill on focused text field (flutter/engine#24463) 2021-02-17 23:01:02 -08:00
eggfly
7149be7fce Fix ImageReader may leak images when onDraw() not called (flutter/engine#24272) 2021-02-17 22:56:06 -08:00
LongCatIsLooong
09da701b22 [Android Text Input] Remove Samsung restart input workaround for newer Samsung keyboards (flutter/engine#24288) 2021-02-16 09:11:01 -08:00
Emmanuel Garcia
5d850382d4 Replace Flutter surface only after all platform views are destroyed (flutter/engine#24363) 2021-02-12 10:02:33 -08:00
rogeryi
86ce9cc5c2 Fix Android IO and Worker threads priority issue (flutter/engine#23911) 2021-02-11 14:46:02 -08:00
Jason Simmons
ea99328502 Remove NonNull annotation on FlutterCallbackInformation.lookupCallbackInformation (flutter/engine#24340)
Fixes https://github.com/flutter/flutter/issues/73937
2021-02-11 14:28:47 -08:00
eggfly
8c89d6757f Add buffer.rewind() (flutter/engine#23955) 2021-02-04 15:11:01 -08:00
xster
2c57ad10c1 Make activity/fragment leftover from an attach/detach race slightly safer (flutter/engine#24181) 2021-02-03 21:25:40 -08:00
David Worsham
3215611f74 Fix use of multiple shells w/ different snapshots (flutter/engine#24152) 2021-02-03 17:42:36 -08:00
chunhtai
56c0a73e02 fixes android deeplink query paremeter null crashes (flutter/engine#24146) 2021-02-02 17:01:03 -08:00
Michael Reed
e79a215a31 drawBitmap is deprecated, use drawImage (flutter/engine#24135)
Co-authored-by: Mike Reed <reed@google.com>
2021-02-02 08:24:42 -08:00
Michael Reed
7ef5d67e1b Use sampling instead of (deprecated) filter-quality (flutter/engine#24101) 2021-02-01 00:16:02 -08:00
xster
888728a804 Load FlutterLoader when creating FlutterEngineGroup (flutter/engine#23980) 2021-01-27 13:30:23 -08:00
Lau Ching Jun
b9fbeca5b3 Allow naming shared libraries in deferred component via AndroidManifest (flutter/engine#23925) 2021-01-25 16:34:27 -08:00
Gary Qian
9b0c05391a Read loading unit mapping from AndroidManifest instead of strings (flutter/engine#23868) 2021-01-23 23:04:02 -08:00
xster
e618085f1c Share Android surface GrDirectContext (flutter/engine#23798) 2021-01-22 12:44:02 -08:00
Lau Ching Jun
dfab1f2f1a Search multiple paths when loading deferred component .so files. (flutter/engine#23849)
This is a partial revert of 1181890b8e94c8cc72928df526f49dcc6ce7cdb2

On some devices we still need to the original search paths approach
because dlopen with just the base file name doesn't work. We're
combining both approaches now, adding the base filename as the first
entry in the searchPaths.
2021-01-22 09:41:22 -08:00
Lau Ching Jun
1181890b8e Pass the filename directly to JNI for loading deferred component. (flutter/engine#23824)
When .so files are in the lib/ path in the APK, it can be dlopen-ed
directly using just the filename. We don't need to search for the file.
The interface has thus been changed to accept a single path instead of a
search directory.

Also instead of hardcoding the .so basename and assets directory, read
them from FlutterApplicationInfo instead.
2021-01-21 16:01:13 -08:00
Greg Spencer
95196058d2 Make android more lenient when it comes to out-of-order key event responses (flutter/engine#23604)
Relaxes enforcement of key events being handled in order, to match similar code in the Linux and Windows implementations.
2021-01-21 15:31:21 -08:00
Gary Qian
310d2c210e Fix JNI void vs object method call (flutter/engine#23785) 2021-01-19 21:54:01 -08:00
xster
8b90c7869e FlutterEngineGroup for Android (flutter/engine#23675) 2021-01-19 12:29:02 -08:00
Sarbagya Dhaubanjar
fbd0f1df95 Android deeplink sends "path + query" instead of just path (flutter/engine#23561)
* added .cpid & .gclient to gitignore

* updated tests

* minor change

* fixed formating

* compact concatenation

* minor change

* Revert "added .cpid & .gclient to gitignore"

* cleanup
2021-01-12 16:02:08 -08:00
Jason Simmons
58c6293ae2 Add a keep annotation to the ImeSyncDeferringInsetsCallback.AnimationCallback inner class (flutter/engine#23545)
Fixes https://github.com/flutter/flutter/issues/72787
2021-01-08 14:54:09 -08:00
Michael Goderbauer
f2a937ebba Update outdated links (flutter/engine#23513) 2021-01-08 10:14:01 -08:00
Gary Qian
e4fa163b51 Rename DynamicFeature->DeferredComponent and impl uninstall DeferredComponents (flutter/engine#23224) 2021-01-07 21:02:05 -08:00
Jason Simmons
095b5d15fb Provide a runtime switch for selecting SkParagraph text layout (flutter/engine#23474) 2021-01-07 12:59:03 -08:00
Jason Simmons
3c26d58ae9 Call JavaVM::AttachCurrentThread only once per thread (flutter/engine#23188) 2021-01-06 17:44:02 -08:00
Dan Field
d012575664 Fix SurfaceView usage when status bar is transparent for a11y (flutter/engine#23457) 2021-01-06 11:53:42 -08:00
chunhtai
8b7e018dbf fixes android deeplink to push the path only (flutter/engine#23255) 2021-01-05 11:14:01 -08:00
Gary Qian
2bfbb4197c AssetResolver updating in AssetManager for Dynamic features (flutter/engine#23130) 2020-12-23 17:39:55 -08:00
Gary Qian
d337acaa97 DynamicFeatureChannel MethodChannel and Install state tracking (flutter/engine#22833) 2020-12-14 15:43:56 -08:00
Gary Qian
19afd06afc Add split AOT loading unit failure/error code path (flutter/engine#22857) 2020-12-08 22:58:01 -08:00
Jason Simmons
5c65e278dd Move the WindowInsetsAnimation.Callback implementation to an inner class to avoid Android class loader warnings (flutter/engine#22916) 2020-12-08 12:38:02 -08:00
Chris Yang
3dfa731239 Enable clipRRect for android platform view hybrid composition (flutter/engine#21817) 2020-12-08 09:13:02 -08:00