Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@eggfly
Copy link
Member

@eggfly eggfly commented Jan 7, 2022

  1. Remove the (FlutterView) flutterView casts in PlatformViewsController.java:
  1. Add @NonNull for the platformViewsAccessibilityDelegate parameter and member (although issue closed, should remove the issue id in comments):
  1. Fix some typos and code styles

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on
    writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@eggfly eggfly requested review from GaryQian, blasten and mklim January 7, 2022 08:45
@eggfly eggfly changed the title Fix the FlutterView casting, add a @NonNull and fix code style Remove the FlutterView casting, add a @NonNull and fix code style Jan 7, 2022
@eggfly eggfly changed the title Remove the FlutterView casting, add a @NonNull and fix code style [android] Remove the FlutterView casting, add a @NonNull and fix code style Jan 7, 2022
@eggfly eggfly requested a review from dnfield January 10, 2022 02:50

// Disconnect the FlutterEngine's PlatformViewsController from the AccessibilityBridge.
flutterEngine.getPlatformViewsController().detachAccessibiltyBridge();
flutterEngine.getPlatformViewsController().detachAccessibilityBridge();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow. Really good catch!

Copy link

@blasten blasten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@blasten blasten added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Jan 10, 2022
@fluttergithubbot fluttergithubbot merged commit 65dfc9e into flutter:main Jan 10, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 10, 2022
zanderso pushed a commit to flutter/flutter that referenced this pull request Jan 11, 2022
* 58305d1 Roll Skia from dd575bc0f1f5 to 0056f3f006de (2 revisions) (flutter/engine#30765)

* 92a4f99 Allow additional expose_dirs in flutter_runner (flutter/engine#30749)

* 358605c [web] Remove EngineParagraph and ParagraphGeometricStyle (flutter/engine#30766)

* 8b9f625 Remove glitch when displaying platform views (flutter/engine#30724)

* bd65330 Add missing dependencies to the background image app (flutter/engine#30769)

* 65dfc9e [android] Remove the FlutterView casting, add a @nonnull and fix code style (flutter/engine#30734)

* 00e2a47 Roll Skia from 0056f3f006de to 3e1354a592bc (3 revisions) (flutter/engine#30771)

* 279e3af Implemented library uri support for FlutterFragments and FlutterActivities (flutter/engine#30726)

* 36ad9f1 Roll Skia from 3e1354a592bc to 55b4dc3f7a1c (1 revision) (flutter/engine#30773)
@eggfly eggfly deleted the remove_flutter_view_casts branch January 11, 2022 14:48
JsouLiang pushed a commit to JsouLiang/engine that referenced this pull request Jan 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

platform-android waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants