Skip to content

Conversation

@AbdeMohlbi
Copy link
Contributor

@AbdeMohlbi AbdeMohlbi commented Jan 7, 2026

This change :

  • Fixes lints about wrong order of assert argument .
  • Removes unnecessary static modifiers .
  • Fixes 'long' literal '0x666677778888l' ends with lowercase 'l'.
  • Fixes small typos that i found .
Before After
Before After

Pre-launch Checklist

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

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

@github-actions github-actions bot added platform-android Android applications specifically engine flutter/engine related. See also e: labels. team-android Owned by Android platform team labels Jan 7, 2026
@AbdeMohlbi AbdeMohlbi changed the title WIP Improve code quality in KeyboardManagerTest.java Jan 7, 2026
@AbdeMohlbi AbdeMohlbi marked this pull request as ready for review January 7, 2026 11:18
@AbdeMohlbi AbdeMohlbi requested a review from a team as a code owner January 7, 2026 11:18
@reidbaker
Copy link
Contributor

Can you expand on why the static modifiers are not necessary?
Everything else looks good.

I especially appreciate you fixing the long values to use L instead of l. https://google.github.io/styleguide/javaguide.html#s4.8.8-numeric-literals

@AbdeMohlbi
Copy link
Contributor Author

AbdeMohlbi commented Jan 7, 2026

Can you expand on why the static modifiers are not necessary? Everything else looks good.

I especially appreciate you fixing the long values to use L instead of l. https://google.github.io/styleguide/javaguide.html#s4.8.8-numeric-literals

@reidbaker
so according to this :
A nested interface is any interface whose declaration occurs within the body of another class or interface declaration. A nested interface may be a member interface, or a local interface.
section 9.1.1.3. static Interfaces says : A nested interface is implicitly static. That is, every member interface and local interface is static. , this is what i could find for the moment i hope it helps.

*/
@FunctionalInterface
static interface ChannelCallHandler extends BiConsumer<JSONObject, Consumer<Boolean>> {}
interface ChannelCallHandler extends BiConsumer<JSONObject, Consumer<Boolean>> {}
Copy link
Contributor

@reidbaker reidbaker Jan 7, 2026

Choose a reason for hiding this comment

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

These interfaces are not inside another interface they are inside KeyboardManagerTest. So I dont think they match the description you gave for why it is safe to remove.

Ah you also said nested in a class. LGTM

@reidbaker reidbaker added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 7, 2026
@auto-submit auto-submit bot added this pull request to the merge queue Jan 7, 2026
Merged via the queue into flutter:master with commit 24eed52 Jan 7, 2026
179 checks passed
@flutter-dashboard flutter-dashboard bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jan 7, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 8, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 8, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 8, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 8, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 9, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 9, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine flutter/engine related. See also e: labels. platform-android Android applications specifically team-android Owned by Android platform team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants