Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Engine android CI should verify VisibleForTests field are not used #124890

Open
CaseyHillers opened this issue Apr 14, 2023 · 2 comments
Open

Engine android CI should verify VisibleForTests field are not used #124890

CaseyHillers opened this issue Apr 14, 2023 · 2 comments
Labels
engine flutter/engine repository. See also e: labels. P2 Important issues not at the top of the work list platform-android Android applications specifically team Infra upgrades, team productivity, code health, technical debt. See also team: labels. team-android Owned by Android platform team triaged-android Triaged by Android platform team

Comments

@CaseyHillers
Copy link
Contributor

We had to send a revert in flutter/engine#41211 as this failed analysis checks on Google Testing, but not the LUCI checks.

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();

My expectation is analysis checks like this should be caught in presubmit.

@CaseyHillers CaseyHillers added team Infra upgrades, team productivity, code health, technical debt. See also team: labels. platform-android Android applications specifically engine flutter/engine repository. See also e: labels. labels Apr 14, 2023
@CaseyHillers
Copy link
Contributor Author

\cc @reidbaker

@ksballetba
Copy link
Contributor

\cc @reidbaker

@reidbaker

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine flutter/engine repository. See also e: labels. P2 Important issues not at the top of the work list platform-android Android applications specifically team Infra upgrades, team productivity, code health, technical debt. See also team: labels. team-android Owned by Android platform team triaged-android Triaged by Android platform team
Projects
None yet
Development

No branches or pull requests

4 participants