Skip to content

Conversation

@mboetger
Copy link
Contributor

This ensures DeviceOrientationManager is released on dispose. Prevents leaked IntentReceiver on close.

Fixes: flutter/flutter#166529

Pre-Review Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] page, which explains my responsibilities.
  • I read and followed the [relevant style guides] and ran [the auto-formatter].
  • I signed the [CLA].
  • The title of the PR starts with the name of the package surrounded by square brackets, e.g. [shared_preferences]
  • I [linked to at least one issue that this PR fixes] in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy], or I have commented below to indicate which [version change exemption] this PR falls under[^1].
  • I updated CHANGELOG.md to add a description of the change, [following repository CHANGELOG style], or I have commented below to indicate which [CHANGELOG exemption] this PR falls under[^1].
  • I updated/added any relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or I have commented below to indicate which [test exemption] this PR falls under[^1].
  • All existing and new tests are passing.

@mboetger mboetger requested a review from camsim99 as a code owner April 23, 2025 22:07
@mboetger mboetger requested a review from a team April 23, 2025 22:17
Copy link
Member

@gmackall gmackall left a comment

Choose a reason for hiding this comment

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

LGTM!

@mboetger mboetger merged commit ae4f17d into flutter:main Apr 23, 2025
82 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 24, 2025
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Apr 24, 2025
flutter/packages@41211cf...ae4f17d

2025-04-23 [email protected] [camerax] Ensure
DeviceOrientationManager stops on dispose (flutter/packages#9141)
2025-04-23 [email protected] [google_maps_flutter_ios] Fix
iOS regression where updating a marker hides its info window
(flutter/packages#9127)
2025-04-23 [email protected] Redistribute iOS
CODEOWNERS (flutter/packages#9129)

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 [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://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
raju-muliyashiya pushed a commit to raju-muliyashiya/flutter_packages that referenced this pull request Apr 26, 2025
)

This ensures DeviceOrientationManager is released on dispose. Prevents
leaked IntentReceiver on close.

Fixes: flutter/flutter#166529

## Pre-Review Checklist

- [X] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [X] I read the [Tree Hygiene] page, which explains my
responsibilities.
- [X] I read and followed the [relevant style guides] and ran [the
auto-formatter].
- [X] I signed the [CLA].
- [X] The title of the PR starts with the name of the package surrounded
by square brackets, e.g. `[shared_preferences]`
- [X] I [linked to at least one issue that this PR fixes] in the
description above.
- [X] I updated `pubspec.yaml` with an appropriate new version according
to the [pub versioning philosophy], or I have commented below to
indicate which [version change exemption] this PR falls under[^1].
- [X] I updated `CHANGELOG.md` to add a description of the change,
[following repository CHANGELOG style], or I have commented below to
indicate which [CHANGELOG exemption] this PR falls under[^1].
- [X] I updated/added any relevant documentation (doc comments with
`///`).
- [X] I added new tests to check the change I am making, or I have
commented below to indicate which [test exemption] this PR falls
under[^1].
- [X] All existing and new tests are passing.
androidseb pushed a commit to androidseb/packages that referenced this pull request Jun 8, 2025
)

This ensures DeviceOrientationManager is released on dispose. Prevents
leaked IntentReceiver on close.

Fixes: flutter/flutter#166529

## Pre-Review Checklist

- [X] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [X] I read the [Tree Hygiene] page, which explains my
responsibilities.
- [X] I read and followed the [relevant style guides] and ran [the
auto-formatter].
- [X] I signed the [CLA].
- [X] The title of the PR starts with the name of the package surrounded
by square brackets, e.g. `[shared_preferences]`
- [X] I [linked to at least one issue that this PR fixes] in the
description above.
- [X] I updated `pubspec.yaml` with an appropriate new version according
to the [pub versioning philosophy], or I have commented below to
indicate which [version change exemption] this PR falls under[^1].
- [X] I updated `CHANGELOG.md` to add a description of the change,
[following repository CHANGELOG style], or I have commented below to
indicate which [CHANGELOG exemption] this PR falls under[^1].
- [X] I updated/added any relevant documentation (doc comments with
`///`).
- [X] I added new tests to check the change I am making, or I have
commented below to indicate which [test exemption] this PR falls
under[^1].
- [X] All existing and new tests are passing.
FMorschel pushed a commit to FMorschel/packages that referenced this pull request Jun 9, 2025
)

This ensures DeviceOrientationManager is released on dispose. Prevents
leaked IntentReceiver on close.

Fixes: flutter/flutter#166529

## Pre-Review Checklist

- [X] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [X] I read the [Tree Hygiene] page, which explains my
responsibilities.
- [X] I read and followed the [relevant style guides] and ran [the
auto-formatter].
- [X] I signed the [CLA].
- [X] The title of the PR starts with the name of the package surrounded
by square brackets, e.g. `[shared_preferences]`
- [X] I [linked to at least one issue that this PR fixes] in the
description above.
- [X] I updated `pubspec.yaml` with an appropriate new version according
to the [pub versioning philosophy], or I have commented below to
indicate which [version change exemption] this PR falls under[^1].
- [X] I updated `CHANGELOG.md` to add a description of the change,
[following repository CHANGELOG style], or I have commented below to
indicate which [CHANGELOG exemption] this PR falls under[^1].
- [X] I updated/added any relevant documentation (doc comments with
`///`).
- [X] I added new tests to check the change I am making, or I have
commented below to indicate which [test exemption] this PR falls
under[^1].
- [X] All existing and new tests are passing.
Ortes pushed a commit to Ortes/packages that referenced this pull request Jun 25, 2025
)

This ensures DeviceOrientationManager is released on dispose. Prevents
leaked IntentReceiver on close.

Fixes: flutter/flutter#166529

## Pre-Review Checklist

- [X] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [X] I read the [Tree Hygiene] page, which explains my
responsibilities.
- [X] I read and followed the [relevant style guides] and ran [the
auto-formatter].
- [X] I signed the [CLA].
- [X] The title of the PR starts with the name of the package surrounded
by square brackets, e.g. `[shared_preferences]`
- [X] I [linked to at least one issue that this PR fixes] in the
description above.
- [X] I updated `pubspec.yaml` with an appropriate new version according
to the [pub versioning philosophy], or I have commented below to
indicate which [version change exemption] this PR falls under[^1].
- [X] I updated `CHANGELOG.md` to add a description of the change,
[following repository CHANGELOG style], or I have commented below to
indicate which [CHANGELOG exemption] this PR falls under[^1].
- [X] I updated/added any relevant documentation (doc comments with
`///`).
- [X] I added new tests to check the change I am making, or I have
commented below to indicate which [test exemption] this PR falls
under[^1].
- [X] All existing and new tests are passing.
romanejaquez pushed a commit to romanejaquez/flutter that referenced this pull request Aug 14, 2025
flutter/packages@41211cf...ae4f17d

2025-04-23 [email protected] [camerax] Ensure
DeviceOrientationManager stops on dispose (flutter/packages#9141)
2025-04-23 [email protected] [google_maps_flutter_ios] Fix
iOS regression where updating a marker hides its info window
(flutter/packages#9127)
2025-04-23 [email protected] Redistribute iOS
CODEOWNERS (flutter/packages#9129)

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 [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://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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[camera] [android]CameraX doesn't release resources (DeviceOrientation)

2 participants