Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Reland "Support basic back navigation in Android 13/API 33 #35678" #36051

Merged
merged 4 commits into from
Sep 12, 2022

Conversation

GaryQian
Copy link
Contributor

@GaryQian GaryQian commented Sep 9, 2022

This was reverted due to Google3 linter not properly running against API 33. This workaround is from https://b.corp.google.com/issues/243609613

Copy link
Contributor

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

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

LGTM with nit.

private final OnBackInvokedCallback onBackInvokedCallback =
Build.VERSION.SDK_INT >= 33
? new OnBackInvokedCallback() {
@SuppressWarnings("Override")
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add a TODO for removing this, explaining when it can be removed (probably best to file a Flutter issue tracking it to reference in the TODO, and reference the internal bug in that issue along with any other useful context).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. Filed flutter/flutter#111295 and added TODO.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App platform-android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants