1213 Commits

Author SHA1 Message Date
Jason Simmons
f3254b3a60 Fix a leak of the resource EGL context on Android (flutter/engine#26789) 2021-06-17 08:59:01 -07:00
Emmanuel Garcia
b98627e958 Allow Flutter focus to interop with Android view hierarchies (flutter/engine#26602) 2021-06-10 16:04:01 -07:00
LongCatIsLooong
7070b47e1a [Android TextInput] clean up nested batch edits in closeConnection() (flutter/engine#26628) 2021-06-10 13:29:02 -07:00
LongCatIsLooong
f2d4eff14c [Android KeyEvents] Split AndroidKeyProcessor into separate classes (flutter/engine#25628) 2021-06-04 18:54:01 -07:00
Nico Teufel
0cd5eb3217 Fix Fragment not transparent in Texture render mode (flutter/engine#26446) 2021-06-03 15:54:01 -07:00
gaaclarke
ec7c6f08d8 Added more descriptive error to StandardMessageCodec for types that override toString() (flutter/engine#26527) 2021-06-03 14:44:02 -07:00
chunhtai
4f0008101f Reland "Add API to the engine to support attributed text (#25373)" (flutter/engine#26528) 2021-06-02 10:14:02 -07:00
Jason Simmons
189fc5d4d4 Add an encoder for CharSequence in StandardMessageCodec (flutter/engine#26526)
https://github.com/flutter/engine/pull/25373 introdued APIs that
return SpannableString, which is a CharSequence subclass that was
not previously supported by StandardMessageCodec

See https://github.com/flutter/flutter/issues/83751
2021-06-01 18:42:57 -07:00
Kaushik Iska
187c6a3ec2 Revert "Add API to the engine to support attributed text (#25373)" (flutter/engine#26524)
This reverts commit f64abc695eb8badcdb2639a6321ba9575d3c7c3d.
2021-06-01 17:30:58 -07:00
chunhtai
f64abc695e Add API to the engine to support attributed text (flutter/engine#25373) 2021-06-01 11:54:01 -07:00
gaaclarke
1881ea7655 Reland: "android platform channels: moved to direct buffers for c <-> java interop" (flutter/engine#26515) 2021-06-01 11:19:02 -07:00
Jason Simmons
c9acd920ac Add trace-skia-allowlist to the Android intent flags (flutter/engine#26454) 2021-06-01 09:59:01 -07:00
Hidenori Matsubayashi
f2a5771d0a Fix: Strip option doesn't work for linux .so files (flutter/engine#26358) 2021-05-28 13:49:01 -07:00
Zachary Anderson
84c3f19ee8 Revert "android platform channels: moved to direct buffers for c <-> java interop (#26331)" (flutter/engine#26470)
This reverts commit 8137eddf08863c2bf393658a896947691327de60.
2021-05-27 19:12:55 -07:00
Jeff Ward
2438363a2e Add Float32List support to StandardMessageCodec (flutter/engine#26386) 2021-05-27 14:49:02 -07:00
gaaclarke
8137eddf08 android platform channels: moved to direct buffers for c <-> java interop (flutter/engine#26331) 2021-05-27 13:09:02 -07:00
Gary Qian
d3de3f1f24 Fix deferred components startup threading and improve .so search algorithm. (flutter/engine#26429) 2021-05-26 19:27:20 -07:00
chunhtai
d3f4069e34 Sets a11y traversal order in android accessibility bridge (flutter/engine#26335) 2021-05-24 15:34:02 -07:00
Gary Qian
4ba3454b35 Handle only asset-only deferred components case (flutter/engine#26333) 2021-05-21 17:08:01 -07:00
Emmanuel Garcia
562e87e3f4 Fix hybrid composition case and enable test (flutter/engine#26272) 2021-05-19 20:44:03 -07:00
Emmanuel Garcia
23f32a5cee Fix composition when multiple platform views and layers are combined (flutter/engine#26158) 2021-05-14 15:19:01 -07:00
Chris Bracken
776cec5c28 Revert "Fix composition when multiple platform views and layers are combined (#25900)" (flutter/engine#26142)
This appears to be reliably crashing the devicelab
linux_android_view_scroll_perf__timeline_summary test.

Example crashes:
* https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20android_view_scroll_perf__timeline_summary/1369/overview
* https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20android_view_scroll_perf__timeline_summary/1370/overview

This reverts commit e222385589b62add0b88efbe5d51858f96419c4d.
2021-05-13 18:50:54 -07:00
Emmanuel Garcia
e222385589 Fix composition when multiple platform views and layers are combined (flutter/engine#25900) 2021-05-13 11:44:01 -07:00
gaaclarke
4d98fd9744 Switch PlatformMessages to hold data in Mappings (flutter/engine#25867) 2021-05-13 10:28:25 -07:00
gaaclarke
46ccd1d5f3 Added exception if you try to reply with a non-direct ByteBuffer. (flutter/engine#25952) 2021-05-12 16:12:38 -07:00
Hrishikesh Kadam
578a22a54e Update documentation for embedding SplashScreen (flutter/engine#25943) 2021-05-12 13:59:02 -07:00
Mohit Kanwal
16fda154a3 Remove unused parameter. (flutter/engine#25940) 2021-05-10 13:19:01 -07:00
gaaclarke
1734ce7f8a Moved PlatformMessage's to unique_ptrs (flutter/engine#25860) 2021-05-06 20:19:01 -07:00
xster
7e60885377 Fix crash when both FlutterFragmentActivity and FlutterFragment are destroyed and recreated (flutter/engine#25851) 2021-05-03 09:35:45 -07:00
xster
5233f959a5 Fix crash when FlutterFragmentActivity is recreated with an existing FlutterFragment (flutter/engine#25770) 2021-04-26 22:23:45 -07:00
xster
5c59e9637d Add more doc for how the plugin registration process works and how to customize it (flutter/engine#25578) 2021-04-26 17:14:01 -07:00
Jason Simmons
93c02ed46c Do not use android_context after it is std::moved in the PlatformViewAndroid constructor (flutter/engine#25757) 2021-04-24 18:35:31 -07:00
Emmanuel Garcia
4842a3a52e Fix accessibility of embedded views in Android 9 and below (flutter/engine#25709) 2021-04-23 11:16:09 -07:00
Dan Field
f8754257da Refactor Android PlatformView constructors (flutter/engine#25632) 2021-04-22 15:13:55 -07:00
Emmanuel Garcia
a8bee24681 TalkBack shouldn't announce platform views that aren't in the a11y tree (flutter/engine#25666) 2021-04-20 12:39:02 -07:00
eggfly
bddb13004d Fix: add Android accessibility bounds offset when FlutterView's location is not left top corner (flutter/engine#25670) 2021-04-20 09:37:25 -07:00
xster
ae13029ab3 change the Android FlutterEngine class doc around multiple engines (flutter/engine#25575) 2021-04-15 06:14:01 -07:00
xster
a04eb5db2b Deduplicate plugin registration logic and make error logs visible - take 2 (flutter/engine#25395) 2021-04-14 09:34:01 -07:00
xster
76df94bbde Reduce the warning severity for FlutterEngineGroup (flutter/engine#25544) 2021-04-13 10:14:02 -07:00
Ari Weiland
ce085d0129 Add automatic onBackPressed behavior to FlutterFragment (flutter/engine#25453) 2021-04-09 13:18:43 -07:00
Dan Field
22da76000a Refactor GPU access switch (flutter/engine#24356) 2021-04-06 22:16:06 -07:00
Ari Weiland
48df08e088 Update FlutterFragment to implement ComponentCallbacks2. (flutter/engine#25428) 2021-04-05 23:04:46 -07:00
Chris Bracken
f4d1c89df1 Extract Dart logging to the embedders (flutter/engine#25402)
Previously messages logged from Dart code (e.g. via the print function)
were handled directly in the engine by platform-specific code. This
factors out a LogMessage(tag, message) callback that embedders can
implement with platform-specific code.

This also eliminates a dependency on platform-specific code in the core,
and provides more flexibility to embedders than the current fallback to
stdout, which can be a problem on platforms without a traditional stdout
or with restrictions on stdout.

Fixes https://github.com/flutter/flutter/issues/79685
2021-04-05 15:43:21 -07:00
xster
6f92b73ba2 Revert "Deduplicate plugin registration logic and make error logs visible (#25297)" (flutter/engine#25393) 2021-04-02 12:44:01 -07:00
Chris Bracken
9b4a0264d5 Correct typos throughout the engine/embedder (flutter/engine#25346)
Used the the `misspell` tool available at
https://github.com/client9/misspell, then applied hand-corrections. It's
possible we could adopt this as a presubmit, but there are still enough
false positives that it may not be worth the effort.
2021-04-01 11:08:19 -07:00
Emmanuel Garcia
c34705f5dd Reland: "Fix memory leak and bug in the RunsOnCreationTaskRun" (flutter/engine#25317) 2021-03-31 15:16:38 -07:00
Alexander Brusher
3ebaf4f764 [fuchsia][a11y] Adds isKeyboardKey semantics flag. (flutter/engine#25167)
This change introduces a semantics flag to indicate whether a node
represents a virtual keyboard key.
2021-03-30 13:26:56 -07:00
xster
59ff1d3735 Deduplicate plugin registration logic and make error logs visible (flutter/engine#25297) 2021-03-30 11:19:01 -07:00
chunhtai
0b40ddfde0 Reland "Fixes android voice access delete text, redo, and undo action" (flutter/engine#25289)
* Reland "Fixes android voice access delete text, redo, and undo actions. (#25050)"

This reverts commit b1b20aedd68a6cfea50b61e4f4aca74c3909407c.

* fix condition
2021-03-30 10:21:21 -07:00
xster
058ebe70e5 Turn off insecure socket policy configuration in the engine (flutter/engine#25299) 2021-03-30 10:15:10 -07:00