Tong Mu
b3e7732cf9
System mouse cursor: Android ( #18569 )
...
Adds system mouse cursor to the Android engine.
2020-06-01 18:08:43 -07:00
Gary Qian
e9f1efa280
Add fullscreen padding workarounds to v2 android embedding ( #18193 )
2020-05-09 04:31:27 -07:00
xster
45e6cfd1ff
remove top padding when system UI in fullscreen mode ( #17985 )
2020-04-28 12:21:37 -07:00
Mehmet Fidanboylu
feb94f6c97
Protect LanguageRange behind Android O. ( #17882 )
2020-04-23 05:59:52 -07:00
Gary Qian
8dc91229b4
PlatformResolvedLocale localization message channel ( #17755 )
2020-04-21 15:34:44 -07:00
Jason Simmons
f9e53c72c6
Unregister the TextInputChannel method handler when the TextInputPlugin is destroyed ( #17646 )
...
Fixes https://github.com/flutter/flutter/issues/54275
2020-04-17 14:25:34 -07:00
LongCatIsLooong
cf3d738f50
Android text input autofill ( #17465 )
2020-04-16 03:41:23 -07:00
Dan Field
2e909652ac
Fix bad texture view config ( #17486 )
2020-04-02 15:06:03 -07:00
renyou
ba80c0c49a
Android change to match the Google internal changes. ( #17331 )
...
* Android change to match the google internal changes.
* Fix format.
* Revert format change, add super call.
* Remove comment for API version.
2020-03-25 18:02:46 -07:00
Emmanuel Garcia
025e2d82dd
Migrate embedding to AndroidX ( #17075 )
2020-03-13 21:19:24 -07:00
xster
1ff81bc117
Make a pass through all the embedding javadocs ( #17109 )
2020-03-13 16:34:34 -07:00
Matt Carroll
482155b3c6
Fixed splash screen crash when bringing Android app back to foreground after being evicted from memory. ( #47635 ) ( #16916 )
2020-03-04 11:27:12 -08:00
Matt Carroll
f39bc73d6a
Exposes FlutterSurfaceView, and FlutterTextureView to FlutterActivity and FlutterFragment. ( #41984 , #47557 ) ( #16552 )
2020-02-12 19:21:00 -08:00
Michael Klimushyn
7c67573896
Fix multiline Javadoc code blocks ( #16565 )
...
The formatter didn't understand what was going on here and broke the
text. Changed these to use `<pre>{@code }</pre>` instead.
2020-02-12 15:07:16 -08:00
Matt Carroll
ca02b9197e
Prevent long flash when switching to Flutter app. ( #47903 ) ( #16527 )
2020-02-11 15:26:27 -08:00
Michael Klimushyn
077918dcfd
Apply Google Java format ( #16501 )
...
This shouldn't result in any logical changes. I've done a quick smoke
test by building a local Android engine and running Flutter gallery, no
compile errors or other obvious issues.
Applied by running `/ci/format.sh | patch -p0` with the altered script
added in flutter/engine#16500 . I did locally modify the script slightly
further so it would run against all Java files in the repo instead of
just modified ones.
2020-02-07 16:10:46 -08:00
Matt Carroll
9443518f62
Fix safe area reporting with transparent FlutterActivitys. ( #46060 ) ( #16208 )
2020-02-07 14:57:06 -08:00
Michael Klimushyn
6fa1fcda8f
Register plugins at the right time, once ( #15979 )
...
Currently we're automatically registering plugins both when the
FlutterEngine is constructed and in the `flutter create` template, when
FlutterActivity#configureFlutterEngine is called. The initial
registration is too early to contain a reference to the activity and the
second registration can cause problems in some plugins.
This alters the flow so automatic registration happens in two discrete
places, and contains the `activity` in its first and only call for most
apps.
1. We're no longer automatically registering plugins on `FlutterEngine`
in any of our activities/fragments at construction time. But since the
FlutterEngine default constructor still automatically registers plugins,
anyone constructing the engine themselves (for example, in a service) is
still going to get automatic registration at `FlutterEngine`
instantiation time.
2. We now automatically register plugins in the base `FlutterActivity`'s
`configureFlutterEngine` hook. Anyone using `FlutterActivity` (or
`FlutterFragment`) should be automatically registered once that hook is
called. Right now the `flutter create` template overrides the base class
method with a subclass that registers everything manually in the same
spot. But with this in place we can safely recommend to remove the
subclass and rely on this hook to automatically register going forward.
Registering at this time means `activity` is set correctly.
2020-01-25 00:34:52 -08:00
Chris Bracken
d1b0883883
Eliminate unused import in Android embedding ( #15975 )
...
Eliminates an unused dependency on android.os.build. The last remaining
use of this was eliminated in 0615f45623224bd99ee3ceb8ba4a0d4d04f58d54
with the removal of an unused method that contained an android version
check.
2020-01-24 16:19:00 -08:00
Matt Carroll
29e857ca2c
Release TextureView surface within FlutterTextureView when disconnected. ( #48535 ) ( #15899 )
2020-01-23 13:19:42 -08:00
Michael Goderbauer
0615f45623
Remove unused Imports and private method ( #15872 )
2020-01-21 17:53:02 -08:00
xster
006e44d1d0
Reduce default verbosity of Android embedding ( #15164 )
2020-01-18 23:49:05 -08:00
Jason Simmons
0235a50843
Change the value of EXTRA_INITIAL_ROUTE to match the value used by the old embedding and flutter_tools ( #15569 )
2020-01-13 17:19:31 -08:00
Jason Simmons
fb52622304
Add a type parameter to SavedState.Creator in the new embedding ( #15563 )
2020-01-13 15:26:32 -08:00
Matt Carroll
4513205b13
Make BackgroundMode public. ( #45747 ) ( #14673 )
2020-01-08 21:41:34 -08:00
Dan Field
2a1ade7908
Raise API level for reportFullyDrawn ( #14146 )
2019-12-05 14:51:55 -08:00
Dan Field
73da385c11
Disable a11y on detach ( #14142 )
2019-12-05 11:16:38 -08:00
Matt Carroll
7c5a954dd3
Removed GET_ACTIVITIES flag from all manifest meta-data lookups. ( #38891 ) ( #13932 )
2019-11-21 15:00:27 -08:00
chunhtai
132d38cd22
Moves pointer event sanitizing to engine. ( #13697 )
...
* Moves pointer event sanitizing to engine
* fix comment format
* fix formatting
* addressing comment
* fix format
* fix format
* addressing comment
2019-11-19 09:48:25 -08:00
chunhtai
1f1e2ba58e
reland add lifecycle enum ( #13767 )
...
This reverts commit 8ebb318401344793daa10c3bec97c34891cf7cc8.
2019-11-13 11:26:25 -08:00
chunhtai
8ebb318401
Revert "Issues/39832 reland ( #13642 )" ( #13720 )
...
This reverts commit 1bfb928e071674a21779cee94908fbcae1c2e657.
2019-11-06 11:41:36 -08:00
Jason Simmons
47579164ad
Fix NPE in splash screen lookup ( #13719 )
2019-11-06 10:31:41 -08:00
Matt Carroll
e924d71627
Fix splash screen lookup. ( #44131 ) ( #13660 )
2019-11-06 04:37:48 +00: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 02a479007420b05df8e075978ecdd15442ea520f.
2019-11-04 13:40:20 -08:00
chunhtai
02a4790074
Added new lifecycle enum ( #11913 )
2019-11-04 12:33:41 -08: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
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
Matt Carroll
e6e35a90df
Forwards Activity result to FlutterFragment in FlutterFragmentActivity. ( #13214 )
2019-10-21 17:05:46 -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
d9d92a564b
Added FlutterActivity and FlutterFragment hook to cleanUpFlutterEngine() as symmetry for configureFlutterEngine(). ( #41943 ) ( #12987 )
2019-10-11 13:52:21 -07:00
Matt Carroll
70f21b0edb
Fixes race condition that was reported internally. ( #12362 )
2019-09-19 16:36:17 -07:00
Dan Field
7fb14000fd
java lints ( #12354 )
2019-09-18 21:20:04 -07:00
Matt Carroll
36be89da49
Added javadoc comments to FlutterActivity and FlutterFragmentActivity. ( #12328 )
2019-09-17 16:22:13 -07:00
Matt Carroll
f38f3a2f79
Introduce FlutterFragmentActivity ( #12305 )
2019-09-17 15:09:38 -07:00
Matt Carroll
ef2a452124
Remove un-needed FragmentActivity import statements to facilitate proguard. ( #11902 )
2019-09-05 14:44:04 -07:00
Matt Carroll
fde7c8c334
Rename first frame method and notify FlutterActivity when full drawn ( #38714 #36796 ). ( #11357 )
2019-09-03 15:49:53 -07:00
Tong Mu
ba1a303ae2
Patch buttons for chromebook touchpad ( #11420 )
...
Changes irregular events of touchpad scrolling on Chromebook to have buttons: 1.
2019-08-26 11:49:55 -07:00