57 Commits

Author SHA1 Message Date
Matt Carroll 55c64a92d8 Point old plugin registry accessors to new embedding plugin accessors. (#44225) (#13739) 2019-11-09 01:55:59 +00:00
gaaclarke e9c2102373 Expanded channel buffer resize to method channels. (#12725)
* Expanded channel buffer resize to method channels.
2019-10-02 17:59:59 -07:00
gaaclarke f407e06970 Resize channel buffers (#12402)
Made it so you can resize channel buffers by sending messages to them.
2019-10-01 10:31:25 -07:00
rafern 63873d9f42 Fix objects equal to null not being detected as null (#11283) 2019-09-16 12:16:38 -07:00
Matt Carroll 3bcd6a8f7b Android Embedding Refactor PR34: Fill in missing nullability annotations. (#9384) 2019-06-19 23:44:15 -07:00
Todd Volkert ace5d59072 Fix rawTypes errors in Android embedding classes (#9326) 2019-06-14 00:27:06 -07:00
Chris Bracken 0a0f3305b5 Removed outdated deprecation comments (#9087)
In breaking change flutter/engine#4487, a typo was fixed in our Android
APIs correcting RequestPermissionResult to RequestPermissionsResult
(note the 's' on Permissions) for consistency with the Android SDK.

Various tombstone comments were left to help guide developers in the
right direction. These comments were slated for removal in March of
2018; at over a year later, we can probably safely remove them.
2019-05-25 15:02:52 -07:00
Matt Carroll 904cfc4fe3 Add @UiThread to MethodChannel and related classes/calls (#32642). (#8947) 2019-05-13 13:26:31 -07:00
Dan Field 5d1c1a027e Remove more asserts and fix a11y check (#8896) 2019-05-08 01:19:24 -07:00
Dan Field 7ce2666e54 Guard Android logs (#8824) 2019-05-03 14:32:29 -07:00
Dan Field 480844608c Remove asserts and add BuildConfig (#8821) 2019-05-02 17:30:19 -07:00
Matt Carroll 211adeac3a Introduced a number of Java system channels in io/flutter/embedding/engine/systemchannels/ (#7500) 2019-02-06 17:07:30 -08:00
Jason Simmons 395937380c Log errors returned from method channel invocations in the text input plugin (#7476)
See https://github.com/flutter/flutter/issues/25715
2019-01-14 17:26:05 -08:00
Dan Field 8b73b9d42c Fix javadoc for Android-28 (#7254)
* Fix javadoc for Android-28

* build javadoc as part of pre-submit
2018-12-19 09:24:02 -08:00
Ian Hickson 8a7ae957ff Undeprecated BigInteger support, but document what it actually does. (#6903) 2018-12-15 08:32:20 -08:00
Michael Goderbauer 70a1106b50 Unify copyright lines (#6757) 2018-11-07 12:24:35 -08:00
Kirill Nikolaev 68a42e3f47 Add nullability annotations to MethodChannel/MethodCall. (#6393)
This works towards resolving https://github.com/flutter/flutter/issues/19888.
2018-10-02 15:02:16 -07:00
Kirill Nikolaev 27f77cbef5 Document that all MethodChannel callbacks must be called on the main thread. (#6245)
This further addresses https://github.com/flutter/flutter/issues/14568.
2018-09-27 15:48:29 -07:00
amirh 68d81a31f4 Platform Views: Android and MethodChannel APIs, and implementation skeleton. (#5684)
To keep the scope of this CL as small of possible I'm leaving the actual
implementation of the platform view mechanics to a following CL.

This CL introduces:
  * A PlatformViewsController class which will be responsible for creating,
    resizing, and disposing platform views.
  * A PlatformViewRegistry which is exposed through the PluginRegistry
    and allows plugins to register factories for platform views.

Android plugin code will add support for a new platform view type by
implementing PlatformViewFactory, and registering a factory with the
registry, e.g:
```java
registrar.platformViewRegistry().registerViewFactory(
  'webview',
  new FlutterWebViewFactory()
);
```
On the Dart side, the framework will ask the engine to create new
platform views by sending a create message over the platformviews method
channel with the unique platform view type id, dimensions, and a unique
id allocated by the framework for the new platform view instance.
The platformviews method channel is also used for resizing and disposing
platform views.
2018-07-11 14:11:15 -07:00
Mehmet Fidanboylu d7e3f2d6e7 Fix lint errors to prepare for building Android files in Google (#5440) 2018-06-01 10:16:50 -07:00
Sarah Zakarias 2c5a1bf507 Provide lookup key to access Flutter assets in the APK (#4785) 2018-03-16 12:59:57 +01:00
Mikkel Nygaard Ravn 9671f63459 Make standard codecs extensible (#4770) 2018-03-16 00:08:08 +00:00
Mikkel Nygaard Ravn 3656278894 Make deprecated API unavailable (#4722) 2018-02-28 11:14:43 +01:00
Jason Simmons 15430edc1f Fix some errors in Javadoc annotations (#4622) 2018-01-31 13:56:32 -08:00
Ali Bitek 8e9598df97 Get active Context from the Registrar (#4523) 2018-01-20 08:46:40 +01:00