Lau Ching Jun
ffc77f0da3
Search multiple paths when loading deferred component .so files. ( #23849 )
...
This is a partial revert of 7c19824c6d08bb8e3fc4217058178d42d451e26b
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
7c19824c6d
Pass the filename directly to JNI for loading deferred component. ( #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
xster
915e2ca178
FlutterEngineGroup for Android ( #23675 )
2021-01-19 12:29:02 -08:00
Gary Qian
3f200606c1
Rename DynamicFeature->DeferredComponent and impl uninstall DeferredComponents ( #23224 )
2021-01-07 21:02:05 -08:00
Jason Simmons
83732f262c
Provide a runtime switch for selecting SkParagraph text layout ( #23474 )
2021-01-07 12:59:03 -08:00
Gary Qian
1c975f1e7c
AssetResolver updating in AssetManager for Dynamic features ( #23130 )
2020-12-23 17:39:55 -08:00
Gary Qian
056b8be933
DynamicFeatureChannel MethodChannel and Install state tracking ( #22833 )
2020-12-14 15:43:56 -08:00
Chris Yang
5db07805d4
Enable clipRRect for android platform view hybrid composition ( #21817 )
2020-12-08 09:13:02 -08:00
Greg Spencer
78b567f7d5
Reland: "Fix race condition in key event handling on Android ( #22658 )" ( #22834 )
2020-12-03 08:53:02 -08:00
Gary Qian
fcbfa9f527
Split AOT Engine Runtime ( #22624 )
2020-12-02 13:28:01 -08:00
Greg Spencer
6c8342f76a
Revert "Fix race condition in key event handling on Android ( #22658 )" ( #22823 )
...
This reverts commit 40fa345 (#22658 ) because it breaks some Google tests. Will investigate and re-land.
2020-12-02 12:03:48 -08:00
Greg Spencer
40fa345c02
Fix race condition in key event handling on Android ( #22658 )
...
This fixes a problem in Android key event handling where, because I was only using a single bool to indicate that we were re-dispatching, there was a race condition when multiple keys were pending (sent to the framework, awaiting responses).
This fixes that by switching to a mechanism that uses the event itself to tell if it was redispatched.
In doing this, I realized that because key events can come from either the dispatchEvent call, or through the InputConnectionAdaptor, I needed to handle both routes properly so that the events would all be handled, and all go through the same mechanism on the framework side.
2020-12-01 09:42:38 -08:00
Jason Simmons
1c2a6bd0a7
Fix the unchecked conversion warning for searchPaths in PlayStoreDynamicFeatureManager ( #22654 )
...
Also use the diamond operator throughout this class.
2020-11-30 12:23:09 -08:00
Gary Qian
c0b08e8e06
Fix java warnings for unchecked conversions in PlayStoreDynamicFeatureManager ( #22628 )
2020-11-20 13:37:26 -08:00
Gary Qian
53fc019aab
Split AOT Android Embedder and shell ( #22179 )
2020-11-19 17:22:26 -08:00
Ari Weiland
a0da844845
Update the tag for FlutterEngineConnectionRegistry to be 23 characters. ( #22610 )
2020-11-19 12:06:56 -08:00
Gary Qian
139fc64129
Rename padding->viewPadding to match framework naming conventions ( #22599 )
2020-11-19 09:50:51 -08:00
Ari Weiland
ccbc2e6cf1
Fix some serious lifecycle bugs with Android embedding code ( #22203 )
2020-11-13 11:58:02 -08:00
Dan Field
d07368169e
Limit heap growth on Android ( #20473 )
...
Limit heap growth to half of totalMem by default, with the option to set it higher or lower in the AndroidManifest
2020-11-12 14:53:54 -08:00
LongCatIsLooong
778eb844d4
[Android text input] Reland #21534 ( #22435 )
2020-11-12 11:34:01 -08:00
LongCatIsLooong
23b6310c52
Revert "[Android Text Input] Make the editing state listenable and allow batch edits ( #21534 )" ( #22434 )
2020-11-11 18:24:02 -08:00
LongCatIsLooong
81f219c59c
[Android Text Input] Make the editing state listenable and allow batch edits ( #21534 )
2020-11-10 19:19:03 -08:00
Lau Ching Jun
3d27fd5b2c
Support loading assets from Android dynamic feature modules ( #21504 )
...
Initialize the AssetManager from the application context so that assets from dynamic feature modules can be loaded.
2020-10-22 15:53:11 -07:00
Mehmet Fidanboylu
abdc8d3853
Forward Error objects to uncaught exception handler if there is one. ( #21806 )
2020-10-16 08:21:04 -07:00
Jason Simmons
c7e5d546f2
Prevent a race between SurfaceTexture.release and updateTexImage ( #21777 )
2020-10-14 15:02:02 -07:00
Dan Field
48687ca3ca
Forbid android.util.Log ( #21696 )
2020-10-08 14:52:05 -07:00
Emmanuel Garcia
db9991279d
Support dragging native platform views ( #21396 )
2020-09-25 17:46:34 -07:00
xster
88e53777d1
Enforce exclusivity for activity and fragments attached to the FlutterEngine ( #21272 )
2020-09-22 10:34:52 -07:00
kele86838437
ab0d4b43be
Update Androidx import ( #19059 )
2020-09-09 16:10:03 -07:00
xster
5f49a95499
Add auto plugin registration to FlutterFragmentActivity as well ( #20865 )
2020-08-31 13:43:46 -07:00
Emmanuel Garcia
5e54c707e8
Reland: Enable hybrid composition by default on Android ( #20722 ) ( #20864 )
...
This reverts commit 4de62c7c2659607acdc75ab8c1ccd305a3c6f9d1.
2020-08-31 12:17:11 -07:00
xster
15f5696c41
Add a java injector for testing ( #20789 )
2020-08-29 22:29:23 -07:00
Greg Spencer
88fd13fcd3
Reland: Implement delayed event synthesis key event handling for Android ( #20736 )
...
This re-lands the key event synthesis implementation for Android (Original PR: #19024 , Revert PR: #19956 ). The only difference is sending the synthesized key events to the root view instead of the current view.
Without sending it to the root view, the system doesn't have any chance of handling keys like the back button. The event will still not be sent to the framework twice, since we turn off event propagation while re-dispatching the event.
2020-08-28 14:45:38 -07:00
Mehmet Fidanboylu
569fd19357
Reland "Pass platform configuration to Dart VM for insecure socket policy ( #20733 )"
...
This reverts commit 77dd1c05b99d137b5b348598f69ec75c93e0a433.
2020-08-27 14:23:31 -07:00
renyou
77dd1c05b9
Revert "Pass platform configuration to Dart VM for insecure socket policy ( #20733 )" ( #20812 )
...
This reverts commit d241105d7a840a7ba88bc2c0ce4a9f415f83aaab.
2020-08-27 08:23:30 -07:00
Mehmet Fidanboylu
d241105d7a
Pass platform configuration to Dart VM for insecure socket policy ( #20733 )
2020-08-25 10:56:03 -07:00
Emmanuel Garcia
4de62c7c26
Revert "Enable hybrid composition by default on Android ( #20722 )" ( #20745 )
...
This reverts commit d16ba48e1d79cf0197e96c51c38300ee921baeb0.
2020-08-25 09:54:13 -07:00
Emmanuel Garcia
d16ba48e1d
Enable hybrid composition by default on Android ( #20722 )
2020-08-24 13:10:23 -07:00
Justin McCandless
33015c6c7a
hasStrings on Android ( #20393 )
...
hasStrings message for checking for pasteable clipboard contents without actually reading them, for iOS14 clipboard alerts.
2020-08-14 08:45:18 -07:00
Mehmet Fidanboylu
dd2c5a1b8b
Plumbing for setting domain network policy ( #20218 )
2020-08-13 07:26:43 -07:00
guolinaileen
594284baee
Add TextInput performPrivateCommand to Flutter Engine ( #20188 )
...
New command for Crowdsource 2/2
2020-08-10 14:04:11 -07:00
guolinaileen
ef1fd32b83
Add TextInput sendAppPrivateCommand to Flutter Engine ( #20144 )
...
Adds sendAppPrivateCommand for Crowdsource
2020-08-07 17:15:05 -07:00
Emmanuel Garcia
7f5d044f36
Wait before switching surfaces ( #20100 )
2020-07-30 20:36:01 -07:00
Todd Volkert
941c442b83
Add ALERT SoundType enum value ( #20139 )
...
https://github.com/flutter/flutter/issues/62143
2020-07-29 23:55:38 -07:00
Yuqian Li
2d8a00e21d
Add purge-persistent-cache ( #20013 )
...
For https://github.com/flutter/flutter/issues/39526
2020-07-28 10:29:59 -07:00
LongCatIsLooong
d96371e03f
Add autofill save for iOS and Android ( #18643 )
2020-07-28 10:23:55 -07:00
Greg Spencer
18200e7e8e
Revert "Implement delayed event synthesis key event handling for Android ( #19024 )" ( #19956 )
...
This reverts commit 8825f9178d884d07b43590ef52bb929ac9a3773f because it breaks flutter_gallery__back_button_memory and a customer test.
2020-07-22 12:36:26 -07:00
Emmanuel Garcia
12847e899e
Support talkback in hybrid composition ( #19860 )
2020-07-17 18:56:02 -07:00
Greg Spencer
8825f9178d
Implement delayed event synthesis key event handling for Android ( #19024 )
...
This implements the design in flutter.dev/go/handling-synchronous-keyboard-events for Android.
I started with Android, but this will be used for all platforms as we add them.
The related framework PR is: flutter/flutter#59358 (which has already landed)
2020-07-17 11:03:19 -07:00
rekire
f21cd8aedf
Prevent that removeActivityResultListener() is causing an ConcurrentModificationException ( #19702 )
2020-07-15 17:59:08 -07:00