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

Fix crash when capture button drawable has an unexpected type #514

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

MHShetty
Copy link
Member

Certain devices wrap the shape drawable with a selector group which leads to a crash while performing explicit type-cast to animate corner radius of the recording drawable.

This PR includes changes that could help resolve the related ClassCastException issue that's being thrown on certain devices for such cases

(Certain devices wrap the shape drawable with a selector group which leads to a crash while performing explicit type-cast to animate corner radius of the recording drawable)
@thestinger thestinger merged commit 28455d7 into GrapheneOS:main Feb 24, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants