-
Notifications
You must be signed in to change notification settings - Fork 6k
Point old plugin registry accessors to new embedding plugin accessors. (#44225) #13739
Point old plugin registry accessors to new embedding plugin accessors. (#44225) #13739
Conversation
xster
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| * get the application's context.</p> | ||
| * | ||
| * <p>This registrar is for Flutter's v1 embedding. To access an {@code Activity} from a | ||
| * plugin using the v2 embedding, see {@link ActivityPluginBinding#getActivity()} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though just reading the javadoc at ActivityPluginBinding.getActivity, it's not very clear how one acquires an activity plugin binding. I think ActivityPluginBinding still need a bit in its class javadoc on how to get the activity plugin binding.
Also, I think we should probably point to flutter.dev/go/android-plugin-migration (which we'll fill in before 1.12) in all these JavaDocs for a holistic narrative.
| * <p>This registrar is for Flutter's v1 embedding. The {@link FlutterView} referenced by | ||
| * this method does not exist in the v2 embedding. Additionally, no {@code View} is exposed | ||
| * to any plugins in the v2 embedding. Platform views can access their containing | ||
| * {@code View} using the platform views APIs. If you have a use-case that absolutely |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Link to the factory class or a Dart side API here.
|
LGTM |
git@github.com:flutter/engine.git/compare/31cd2dfca22a...eec36a8 git log 31cd2df..eec36a8 --no-merges --oneline 2019-11-09 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/mac-amd64 from eq_Rz... to xC_an... (flutter/engine#13771) 2019-11-09 skia-flutter-autoroll@skia.org Roll src/third_party/skia 4135cf0b57c2..0fd4f01b9b83 (1 commits) (flutter/engine#13770) 2019-11-09 ychris@google.com Reland "Guarding EAGLContext used by Flutter #13314" (flutter/engine#13759) 2019-11-09 matthew-carroll@users.noreply.github.com Point old plugin registry accessors to new embedding plugin accessors. (#44225) (flutter/engine#13739) 2019-11-09 fmil@google.com Revert "[fuchsia] Temporarily disable intl provider (#13696)" (flutter/engine#13721) 2019-11-09 mklim@google.com Turn on RasterCache based on view hierarchy (flutter/engine#13762) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC garyq@google.com on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
Point old plugin registry accessors to new embedding plugin accessors. (#44225)