Skip to content

[camera,video_player] Update Android to 3.29 minimum #9317

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

Merged

Conversation

stuartmorgan-g
Copy link
Contributor

This is a prequel to #9316 to separate out auto-generated changes. All this does is:

  • Set the minimum SDK version to 3.29.
  • Run the autoformatter—which changes a ton of things because the 3.29 minimum opts into the new formatter.

Pre-Review Checklist

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

@stuartmorgan-g stuartmorgan-g requested a review from matanlurey May 23, 2025 16:18
@stuartmorgan-g stuartmorgan-g added override: no versioning needed Override the check requiring version bumps for most changes override: no changelog needed Override the check requiring CHANGELOG updates for most changes labels May 23, 2025
@stuartmorgan-g
Copy link
Contributor Author

Exempting from version and changelog since formatter changes shouldn't be client-relevant.

@stuartmorgan-g stuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label May 23, 2025
@auto-submit auto-submit bot merged commit c33fa39 into flutter:main May 23, 2025
81 checks passed
auto-submit bot pushed a commit that referenced this pull request May 23, 2025
#9316)

Replaces deprecated `onSurfaceDestroyed` with `onSurfaceCleanup`, which became available in Flutter 3.29 (which these packages require as of #9317).

The changes to video player are non-trivial because rather than make the minimal change, this makes the changes discussed in flutter/flutter#160933 (comment) that motivated the change in API in the first place, which simplifies the handling of backgrounding, and restores background playback.

Fixes flutter/flutter#161256
Fixes flutter/flutter#156936

## Pre-Review Checklist

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App override: no changelog needed Override the check requiring CHANGELOG updates for most changes override: no versioning needed Override the check requiring version bumps for most changes p: camera p: video_player platform-android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants