eggfly
99eba1b886
Add buffer.rewind() ( #23955 )
2021-02-04 15:11:01 -08:00
xster
5e50f4bad3
Make activity/fragment leftover from an attach/detach race slightly safer ( #24181 )
2021-02-03 21:25:40 -08:00
David Worsham
810e433308
Fix use of multiple shells w/ different snapshots ( #24152 )
2021-02-03 17:42:36 -08:00
chunhtai
62fbba5c19
fixes android deeplink query paremeter null crashes ( #24146 )
2021-02-02 17:01:03 -08:00
Michael Reed
d6b8eba45d
drawBitmap is deprecated, use drawImage ( #24135 )
...
Co-authored-by: Mike Reed <reed@google.com>
2021-02-02 08:24:42 -08:00
Michael Reed
9a2795ae17
Use sampling instead of (deprecated) filter-quality ( #24101 )
2021-02-01 00:16:02 -08:00
xster
fad9ae8e43
Load FlutterLoader when creating FlutterEngineGroup ( #23980 )
2021-01-27 13:30:23 -08:00
Lau Ching Jun
424ae67e74
Allow naming shared libraries in deferred component via AndroidManifest ( #23925 )
2021-01-25 16:34:27 -08:00
Gary Qian
4e87f60eaa
Read loading unit mapping from AndroidManifest instead of strings ( #23868 )
2021-01-23 23:04:02 -08:00
xster
a4f02b787d
Share Android surface GrDirectContext ( #23798 )
2021-01-22 12:44:02 -08:00
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
Greg Spencer
3da13fccf3
Make android more lenient when it comes to out-of-order key event responses ( #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
9acfb7d59c
Fix JNI void vs object method call ( #23785 )
2021-01-19 21:54:01 -08:00
xster
915e2ca178
FlutterEngineGroup for Android ( #23675 )
2021-01-19 12:29:02 -08:00
Sarbagya Dhaubanjar
fb56b4be2a
Android deeplink sends "path + query" instead of just path ( #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
9370aaf548
Add a keep annotation to the ImeSyncDeferringInsetsCallback.AnimationCallback inner class ( #23545 )
...
Fixes https://github.com/flutter/flutter/issues/72787
2021-01-08 14:54:09 -08:00
Michael Goderbauer
40a262b67c
Update outdated links ( #23513 )
2021-01-08 10:14:01 -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
Jason Simmons
f6b51d0c33
Call JavaVM::AttachCurrentThread only once per thread ( #23188 )
2021-01-06 17:44:02 -08:00
Dan Field
df27e691b3
Fix SurfaceView usage when status bar is transparent for a11y ( #23457 )
2021-01-06 11:53:42 -08:00
chunhtai
e682f2aba3
fixes android deeplink to push the path only ( #23255 )
2021-01-05 11:14:01 -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
Gary Qian
8d4b7f3a68
Add split AOT loading unit failure/error code path ( #22857 )
2020-12-08 22:58:01 -08:00
Jason Simmons
bf6dc49c14
Move the WindowInsetsAnimation.Callback implementation to an inner class to avoid Android class loader warnings ( #22916 )
2020-12-08 12:38:02 -08:00
Chris Yang
5db07805d4
Enable clipRRect for android platform view hybrid composition ( #21817 )
2020-12-08 09:13:02 -08:00
ftsui
a26e80c931
Allow the root layout to be overriden. ( #22887 )
...
a
2020-12-07 14:15:45 -08:00
xster
6ab050b861
Handle null platform plugin delegate for v1 embedding ( #22853 )
2020-12-03 16:38:03 -08:00
mikerreed
6ae2594b97
opt into new Skia APIs ( #22845 )
2020-12-03 15:28:02 -08:00
Chris Bracken
14a6fd97ca
Fix NPE when platform plugin delegate is null ( #22852 )
...
Adds a null check before dereferencing in
PlatformPlugin.popSystemNavigator. platformPluginDelegate is allowed to
be null, as it is in the PlatformPlugin(Activity, PlatformChannel)
constructor.
2020-12-03 15:22:34 -08:00
zljj0818
48befc59d4
More rename from GPU thread to raster thread ( #22819 )
2020-12-03 15:03: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
Jason Simmons
1358fda357
Generate Maven metadata files for engine artifacts ( #22685 )
2020-12-02 12:43: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
Gary Qian
a4ce848dfb
Add FlutterPlayStoreSplitApplication for simpler opt in to Split AOT ( #22752 )
2020-11-30 19:27:44 -08:00
xster
a35e3fe4a3
Let FlutterFragment not pop the whole activity by default when more fragments are in the activity ( #22692 )
2020-11-30 12:43:03 -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
Jason Simmons
26c4ba074d
Make AndroidContext::IsValid virtual ( #22665 )
...
Fixes https://github.com/flutter/flutter/issues/70938
2020-11-21 07:51:39 -08:00
Gary Qian
c0b08e8e06
Fix java warnings for unchecked conversions in PlayStoreDynamicFeatureManager ( #22628 )
2020-11-20 13:37:26 -08:00
Greg Spencer
b4d4e30c0a
Fix double delete on backspace on Android ( #22626 )
2020-11-20 10:43:02 -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
Emmanuel Garcia
f7383c4350
Replace support libraries for AndroidX ( #22598 )
2020-11-19 10:08:02 -08:00
Gary Qian
139fc64129
Rename padding->viewPadding to match framework naming conventions ( #22599 )
2020-11-19 09:50:51 -08:00
gaaclarke
1c3bc02649
started providing the GPU sync switch to external view embedders ( #22302 )
2020-11-17 18:43:01 -08:00
Jason Simmons
635df89760
Make the AndroidContext superclass destructor virtual ( #22555 )
...
Also remove an obsolete external_view_embedder reference from
AndroidSurfaceFactoryImpl.
Fixes https://github.com/flutter/flutter/issues/70621
2020-11-16 17:46:52 -06:00