22 Commits

Author SHA1 Message Date
John McCutchan
855e23910a Add intent for running from a script file (#2807) 2016-07-20 10:35:45 -07:00
Jason Simmons
0df124f969 Add an alternate name for an FLX built in profile mode (#2806) 2016-07-19 15:13:08 -07:00
John McCutchan
0b1986a5c1 Fix DevFS on Android devices (#2801) 2016-07-18 12:16:57 -07:00
Jason Simmons
7040ec5855 Use immersive mode on Android when all system UI overlays have been disabled (#2791)
This requires adding a way for platform services (namely SystemChromeImpl) to
listen for activity lifecycle events

Fixes https://github.com/flutter/flutter/issues/4885
2016-07-12 10:12:32 -07:00
Jason Simmons
5ccb7f9abd Allow multiple Android resource names for the app bundle (#2790)
Also provide an API for obtaining the path where the app bundle was extracted
2016-07-11 13:44:42 -07:00
Adam Barth
71ce354a44 Harmonize Android and iOS accessibility bridges (#2777)
These classes now use the same terminology and work in the same way.
Also, change semantics.mojom to use an enumeration of actions instead of
having a separate method per action. This will hopefully scale better.
2016-06-30 16:49:04 -07:00
Adam Barth
93753789bb Add isAdjustable to SemanticFlags (#2776) 2016-06-28 15:07:55 -07:00
Chinmay Garde
bb9865538b Rename uri_launcher.mojom to url_launcher.mojom. (#2773) 2016-06-22 17:15:51 -07:00
Jason Simmons
f59f7dadbd Remove FlutterView.onResume (#2768)
It's empty and is easily confused with onPostResume
2016-06-20 15:01:15 -07:00
Jason Simmons
471beb05aa Pass the FlutterView to app message listeners (#2767)
This will make it simpler to write listeners that can be reused in multiple
applications.
2016-06-20 13:29:46 -07:00
Chinmay Garde
02b7238cbb Android platform implementation of uri_launcher.mojom (#2760) 2016-06-15 12:35:06 -07:00
Jason Simmons
7a49b37a74 Implement a protocol for discovering active Flutter instances on Android (#2720)
Tools can send a broadcast intent that will cause Flutter processes to
write their names and observatory ports to the log in JSON format.
2016-05-27 17:11:34 -07:00
Matt Perry
f608c94934 Add mojo service for accessing the system clipboard. (#2659)
* Add mojo service for accessing the system clipboard.

Hooked up for iOS and Android.

BUG=https://github.com/flutter/flutter/issues/1567
2016-05-09 13:26:19 -04:00
Jason Simmons
c74c0bfb09 Explicitly close Mojo proxies during destruction of a FlutterView (#2646)
Partial fix for https://github.com/flutter/flutter/issues/2950
2016-05-04 14:35:35 -07:00
Jason Simmons
db5d105e1d Improve cleanup of the FlutterView's Mojo service providers (#2644) 2016-05-04 10:02:30 -07:00
Adam Barth
0e991c74b2 Remove dependency from //sky/services/platform to //sky/services/activity (#2643)
Instead of using a static Activity, we can use the one we get when we construct
the service.
2016-05-03 15:02:36 -07:00
Adam Barth
6740388a4a Remove legacy interfaces from activity.mojom (#2638)
These are now offerred by the Flutter platform services (e.g., SystemChrome,
SystemSound, HapticFeedback).
2016-05-02 14:24:40 -07:00
Jason Simmons
f1a8c5468d Load the precompiled snapshot from a group of asset files on Android (#2621)
Previously the AOT snapshot was packaged as a dynamic library (similar to the
scheme used on iOS).  This change eliminates the need for a native code
toolchain when building for AOT.
2016-04-27 15:35:25 -07:00
Jason Simmons
b478563ea6 Support ahead-of-time compilation on Android in the engine (#2614)
This include build system changes for selecting Dart's precompiler mode
plus a way to locate and load the precompiled snapshot library from an
Android application
2016-04-25 10:45:23 -07:00
Yegor
7a919c0f58 record startup timestamp in Android; pass it to Dart timeline (#2612) 2016-04-22 13:41:38 -07:00
Ian Hickson
68cc67f2ec Merge pull request #2597 from Hixie/3177
Fix crashes with LastPass, Now-on-Tap, DashLane
2016-04-14 18:08:05 -07:00
Adam Barth
a299d69f6c Rename PlatformViewAndroid to io.flutter.view.FlutterView (#2586)
This patch cleans up the public Java interface to the Flutter engine. The code
that we intend to be re-usable is now in the io.flutter.view package. The two
public classes are:

 * FlutterMain, which controls initialization of the system, and
 * FlutterView, which is an Android view that hosts a Flutter app.

We'll need to interate on these interface over time, but at least these names
are more reasonable.
2016-04-08 09:39:14 -07:00