Skip to content

Add a @SuppressWarnings in advance - #7712

Merged
auto-submit[bot] merged 2 commits into
mainfrom
advance-suppress-deprecate
Sep 26, 2024
Merged

Add a @SuppressWarnings in advance #7712
auto-submit[bot] merged 2 commits into
mainfrom
advance-suppress-deprecate

Conversation

@matanlurey

Copy link
Copy Markdown
Contributor

... to avoid a revert like flutter-team-archive/engine#55450.

/cc @jtmcdole another example of churn where I can't do the right thing without manual steps.

@flutter-dashboard

Copy link
Copy Markdown

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

@jonahwilliamsjonahwilliams left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@matanlureymatanlurey added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 26, 2024
@auto-submit
auto-submitBot merged commit fe0a3a0 into mainSep 26, 2024
@auto-submit
auto-submitBot deleted the advance-suppress-deprecate branch September 26, 2024 16:37
auto-submitBot added a commit to flutter-team-archive/engine that referenced this pull request Sep 26, 2024
… `onSurfaceCreated`. (#55418)" (#55450)" (#55463)
Reverts: #55450
Initiated by: matanlurey
Reason for reverting: Fixed forward in flutter/packages#7712.
Original PR Author: auto-submit[bot]
Reviewed By: {fluttergithubbot}
This change reverts the following previous change:
Reverts: #55418
Initiated by: bdero
Reason for reverting: [Engine->Framework roll breakage](flutter/flutter#155727 (comment))
Original PR Author: matanlurey
Reviewed By: {jonahwilliams}
This change reverts the following previous change:
Closesflutter/flutter#155131.
Not only did I rename the method, but I also changed the contract slightly - now `onSurfaceAvailable` is _only_ invoked _after_ `onSurfaceDestroyed` has been called. The cost is a single `boolean`, and it honestly makes the API make a lot more sense than someone having to track this themselves.
/cc @johnmccutchan (OOO), and @flutter/android-reviewers.
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 27, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 27, 2024
auto-submitBot pushed a commit to flutter/flutter that referenced this pull request Sep 27, 2024
flutter/packages@f38b780...0321757
2024-09-26 engine-flutter-autoroll@skia.org Roll Flutter from 538e742 to fa402c8 (19 revisions) (flutter/packages#7713)
2024-09-26 hosam.hasan.ramadan@gmail.com [flutter_markdown] remove backgroundColor from code text theme to enable code selection highlight (flutter/packages#7090)
2024-09-26 10687576+bparrishMines@users.noreply.github.com [interactive_media_ads] Adds internal wrapper for iOS native `IMAFriendlyObstruction` (flutter/packages#7696)
2024-09-26 matanlurey@users.noreply.github.com Add a `@SuppressWarnings` in advance (flutter/packages#7712)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com 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://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
thejitenpatel pushed a commit to thejitenpatel/flutter that referenced this pull request Oct 1, 2024
flutter/packages@f38b780...0321757
2024-09-26 engine-flutter-autoroll@skia.org Roll Flutter from 538e742 to fa402c8 (19 revisions) (flutter/packages#7713)
2024-09-26 hosam.hasan.ramadan@gmail.com [flutter_markdown] remove backgroundColor from code text theme to enable code selection highlight (flutter/packages#7090)
2024-09-26 10687576+bparrishMines@users.noreply.github.com [interactive_media_ads] Adds internal wrapper for iOS native `IMAFriendlyObstruction` (flutter/packages#7696)
2024-09-26 matanlurey@users.noreply.github.com Add a `@SuppressWarnings` in advance (flutter/packages#7712)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com 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://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
creatorpiyush pushed a commit to creatorpiyush/packages that referenced this pull request Jun 10, 2026
... to avoid a revert like flutter-team-archive/engine#55450.
/cc @jtmcdole another example of churn where I can't do the right thing without manual steps.
bisor0627 pushed a commit to bisor0627/packages that referenced this pull request Jun 19, 2026
... to avoid a revert like flutter-team-archive/engine#55450.
/cc @jtmcdole another example of churn where I can't do the right thing without manual steps.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmitMerge PR when tree becomes green via auto submit Appp: video_playerplatform-android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@matanlurey@jonahwilliams