Skip to content

[image_picker] Replace deprecated methods on Android #121816

@stuartmorgan-g

Description

@stuartmorgan-g

In flutter/packages#3293 we're enabling warnings as errors in Android plugin implementations. To get it landed, I'm going to just suppress those warnings with a TODO referencing this issue. We should replace those temporary suppressions with a real fix: refactoring to have a new and old codepath gated by SDK version, with only the legacy codepath using deprecation suppression.

It looks like they are both relatively straightforward replacements of a version of the call with an int flag field to one with a flag class.

/cc @gmackall for FYI as the CODEOWNER.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.c: tech-debtTechnical debt, code quality, testing, etc.p: image_pickerThe Image Picker plugin.packageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions