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

Revert "[Android] Send connectionClosed message when keyboard becomes invisible to ensure framework focus state is correct." #41211

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

CaseyHillers
Copy link
Contributor

@CaseyHillers CaseyHillers commented Apr 14, 2023

Reverts #40746

Googler bug: b/278174021

Failing on

shell/platform/android/io/flutter/plugin/editing/TextInputPlugin.java:239: Error: This method should only be accessed from tests or within private scope [VisibleForTests]
      imeSyncCallback.remove();

… invisible to ensure framework focus state is correct. (#40746)"

This reverts commit c9adff6.
@CaseyHillers
Copy link
Contributor Author

\cc @ksballetba as FYI, this appears to have a lint issue where test code is being used. I'm sending a revert to start the presubmits while I investigate if there's any lints we need to opt of.

@CaseyHillers CaseyHillers added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 14, 2023
@CaseyHillers
Copy link
Contributor Author

@reidbaker do you know if there's any lints we need to add to the engine to prevent issues like this from landing?

@auto-submit auto-submit bot merged commit c2e646d into main Apr 14, 2023
@auto-submit auto-submit bot deleted the revert-40746-handle_unfocus branch April 14, 2023 19:22
@reidbaker
Copy link
Contributor

@reidbaker do you know if there's any lints we need to add to the engine to prevent issues like this from landing?

Not off hand but if you file a bug against me we can get it looked at.

@CaseyHillers
Copy link
Contributor Author

@reidbaker I filed flutter/flutter#124890 for tracking, thanks for taking a look!

engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 14, 2023
…rd becomes invisible to ensure framework focus state is correct." (flutter/engine#41211)
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Apr 14, 2023
…124896)

flutter/engine@413e95d...e9739bc

2023-04-14 [email protected] [macOS] Build unittests on all macOS host builds (flutter/engine#41215)
2023-04-14 [email protected] [web] Don't run goldctl init more than once (flutter/engine#41207)
2023-04-14 [email protected] Roll Skia from 2bd12e31d578 to 22e417bea884 (4 revisions) (flutter/engine#41213)
2023-04-14 [email protected] Revert "[Android] Send connectionClosed message when keyboard becomes invisible to ensure framework focus state is correct." (flutter/engine#41211)
2023-04-14 [email protected] Remove `Mac mac_android_aot_engine` in favor of Linux (flutter/engine#41210)
2023-04-14 [email protected] Run clang tidy builds on arm Macs (flutter/engine#41183)
2023-04-14 [email protected] Roll Fuchsia Linux SDK from diD1gLr_dKWFJlsSn... to Z0of2S9pf3Zn1nsJP... (flutter/engine#41209)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from diD1gLr_dKWF to Z0of2S9pf3Zn

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 [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

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/+doc/main/autoroll/README.md
@ksballetba
Copy link
Contributor

\cc @ksballetba as FYI, this appears to have a lint issue where test code is being used. I'm sending a revert to start the presubmits while I investigate if there's any lints we need to opt of.

It looks like I didn't change this code, this lint problem exists before my code change.
And I found same lint issue in TextInputPlugin.

image

exaby73 pushed a commit to NevercodeHQ/flutter that referenced this pull request Apr 17, 2023
…lutter#124896)

flutter/engine@413e95d...e9739bc

2023-04-14 [email protected] [macOS] Build unittests on all macOS host builds (flutter/engine#41215)
2023-04-14 [email protected] [web] Don't run goldctl init more than once (flutter/engine#41207)
2023-04-14 [email protected] Roll Skia from 2bd12e31d578 to 22e417bea884 (4 revisions) (flutter/engine#41213)
2023-04-14 [email protected] Revert "[Android] Send connectionClosed message when keyboard becomes invisible to ensure framework focus state is correct." (flutter/engine#41211)
2023-04-14 [email protected] Remove `Mac mac_android_aot_engine` in favor of Linux (flutter/engine#41210)
2023-04-14 [email protected] Run clang tidy builds on arm Macs (flutter/engine#41183)
2023-04-14 [email protected] Roll Fuchsia Linux SDK from diD1gLr_dKWFJlsSn... to Z0of2S9pf3Zn1nsJP... (flutter/engine#41209)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from diD1gLr_dKWF to Z0of2S9pf3Zn

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 [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

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/+doc/main/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App platform-android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants