-
Couldn't load subscription status.
- Fork 6k
Reland "Support basic back navigation in Android 13/API 33 #35678" #36051
Conversation
There was a problem hiding this 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") |
There was a problem hiding this comment.
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).
There was a problem hiding this comment.
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.
This was reverted due to Google3 linter not properly running against API 33. This workaround is from https://b.corp.google.com/issues/243609613