Skip to content
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

Switch to the WindowInsetsAnimationCompat api #91895

Merged

Conversation

m4gr3d
Copy link
Contributor

@m4gr3d m4gr3d commented May 13, 2024

Replace the use of WindowInsetsAnimation with WindowInsetsAnimationCompat; the former was only introdcued in api 30 and caused a crash on older versions of Android.

Fixes #91773

Replace the use of WindowInsetsAnimation with WindowInsetsAnimationCompat; the former was only introdcued in api 30 and caused a crash on older versions of Android.

Fixes godotengine#91773
@m4gr3d m4gr3d added bug platform:android topic:porting cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release labels May 13, 2024
@m4gr3d m4gr3d added this to the 4.3 milestone May 13, 2024
@m4gr3d m4gr3d requested a review from a team as a code owner May 13, 2024 08:01
@akien-mga akien-mga added the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label May 13, 2024
Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

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

Looks good.

We seem to have this code all the way down to 4.0, I'm surprised we're only hearing about this now... I guess we don't have a lot of users testing on older Android devices.

@akien-mga akien-mga merged commit d48be8c into godotengine:master May 13, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@m4gr3d m4gr3d deleted the switch_to_window_insets_animation_compat branch May 13, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release platform:android topic:porting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Game crashing on older android versions despite exceeding minSdk.
2 participants