xster
caa8e6dd9f
Re-land deprecate Android v1 embedding classes ( #21347 )
2020-09-23 11:25:20 -07:00
Zachary Anderson
c62d665299
Revert "Deprecate Android v1 embedding classes ( #20868 )" ( #21338 )
...
This reverts commit 3011b14a25ea5c9fd54ecffc2e154e587c4a6b1a.
2020-09-22 14:38:18 -07:00
xster
3011b14a25
Deprecate Android v1 embedding classes ( #20868 )
2020-09-21 15:02:02 -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
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
Jenn Magder
5759a437e6
Revert "Add a deprecation javadoc note to the old FlutterActivity ( #15156 )" ( #15331 )
...
This reverts commit 293cd971d0147cc84120a6de579f476e030d56c7.
2020-01-08 18:04:49 -08:00
xster
293cd971d0
Add a deprecation javadoc note to the old FlutterActivity ( #15156 )
2020-01-08 10:06:58 -08:00
Matt Carroll
cc27cafb84
Implemented Dark Mode for Android ( #25525 ) ( #7488 )
2019-02-04 19:30:15 -08:00
Michael Goderbauer
70a1106b50
Unify copyright lines ( #6757 )
2018-11-07 12:24:35 -08:00
amirh
51785d244d
Remove unused Java imports ( #5663 )
2018-07-03 09:21:03 -07:00
Jason Simmons
c7ab033f9e
Support a model where the application creates a FlutterNativeView that is never destroyed ( #5256 )
...
This allows applications to start a Flutter engine instance during app startup
and keep it running throughout the app process' lifetime.
FlutterActivity subclasses can override createFlutterNativeView to provide a
preinitialized FlutterNativeView instance and override retainFlutterNativeView
to signal that the FlutterNativeView should be kept alive when the activity
is destroyed.
2018-05-15 12:05:54 -07:00
Jonah Williams
e1cd506187
add onStart hook which places flutter in an inactive state ( #5177 )
2018-05-04 14:46:57 -07:00
Jonah Williams
0b7d6be976
Re-land "do not pause rendering when android view loses focus" ( #5004 )
...
* do not pause rendering when android view loses focus
2018-04-13 17:08:00 -07:00
Jonah Williams
8a6e64a8ef
Revert "Do not pause rendering when android activity loses focus ( #4848 )" ( #4985 )
...
This reverts commit c83d1ef12df0cf8b11a6dda044f812f8cc6c16ef.
2018-04-12 11:20:24 -07:00
Jonah Williams
c83d1ef12d
Do not pause rendering when android activity loses focus ( #4848 )
...
* do not pause rendering when android view loses focus
2018-04-12 11:00:31 -07:00
Mikkel Nygaard Ravn
288897bb46
Fix API typo ( #4487 )
2018-01-02 15:32:53 +01:00
Zachary Anderson
7804e8588a
View destroy listener ( #4347 )
...
[Android] Allow persisting a FlutterNativeView across activities.
2017-11-13 13:56:48 -08:00
Todd Volkert
fa2726cda0
Remove FlutterActivity#onFlutterReady() ( #3806 )
...
Fixes https://github.com/flutter/flutter/issues/10571
2017-06-21 10:03:04 -07:00
Todd Volkert
b91d2f1bb4
Fix some minor issues with Javadocs ( #3761 )
2017-06-09 07:35:50 -07:00
Jason Simmons
e70fe3766a
Call the superclass onConfigurationChanged in FlutterActivity ( #3758 )
2017-06-08 14:58:22 -07:00
Todd Volkert
ec8cbe0fb6
Refactor FlutterActivity to be more composable ( #3748 )
...
This factors the functionality that was in `FlutterActivity`
to live in `FlutterActivityDelegate`. This will allow the creation of a
`FlutterFragmentActivity` that has the same core functionality, which in
turn unlocks certain Android plugins that choose to require the v4
support library (like Google Sign-In).
https://github.com/flutter/flutter/issues/10072
2017-06-07 12:28:41 -07:00
Gary Qian
1f2aa07571
Add flags for enabling software rendering in FlutterActivity ( #3724 )
2017-06-01 13:53:12 -07:00
Mikkel Nygaard Ravn
b273d1ad04
Android plugin registry ( #3641 )
2017-05-08 21:44:49 +02:00
Chinmay Garde
73299f42f4
Package test fonts on the debug runtime mode. ( #3582 )
2017-04-10 15:41:09 -07:00
Collin Jackson
0005285781
Revert "Make FlutterActivity extend from FragmentActivity ( #3529 )" ( #3545 )
...
This reverts commit fa360b55da851381ecf2abaa4769189674265c1c.
2017-03-31 09:06:07 -07:00
Collin Jackson
fa360b55da
Make FlutterActivity extend from FragmentActivity ( #3529 )
...
FragmentActivity is required for plugins that use auto managed Google APIs, such as Google Sign-In. Requires flutter/flutter#9036 to land so that gradle builds include FragmentActivity.
2017-03-27 16:53:09 -07:00
Chinmay Garde
1c07ea530f
Remove uses of //base from all //flutter projects and replace them with //fml variants. ( #3492 )
2017-03-22 15:42:51 -07:00
Jason Simmons
b1a163858d
Send an event to signal memory pressure ( #3475 )
...
See https://github.com/flutter/flutter/issues/7561
2017-03-14 15:42:30 -07:00
Jason Simmons
2466d31edf
Fix some Javadoc warnings ( #3391 )
2017-02-03 16:25:25 -08:00
amirh
13044ca1c4
Add a getter for flutterView in FlutterActivity. This allows fullscreen flutter apps to extend FlutterActivity and do custom stuff with the flutter view. ( #3324 )
2017-01-05 20:35:00 -08:00
Collin Jackson
6794bc2ad7
rename sky -> flutter in shell ( #3293 )
2016-12-06 14:43:53 -08:00