Commit Graph

24 Commits

Author SHA1 Message Date
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 c83d1ef12d.
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 fa360b55da.
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