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

Make OptimizeResourcesPass.disallowed_types() less dangerous #909

Closed
wants to merge 1 commit into from

Conversation

wsanville
Copy link
Contributor

Summary: Suppose this configuration option was used to broadly disallow removals of types that can have references (i.e. drawables). This would do the wrong thing as implemented currently. Treat such configured types as roots so they get traversed for references.

Reviewed By: thezhangwei

Differential Revision: D70284056

Summary: Suppose this configuration option was used to broadly disallow removals of types that can have references (i.e. drawables). This would do the wrong thing as implemented currently. Treat such configured types as roots so they get traversed for references.

Reviewed By: thezhangwei

Differential Revision: D70284056
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D70284056

@wsanville wsanville closed this Feb 28, 2025
facebook-github-bot pushed a commit that referenced this pull request Feb 28, 2025
Summary:
Pull Request resolved: #909

Suppose this configuration option was used to broadly disallow removals of types that can have references (i.e. drawables). This would do the wrong thing as implemented currently. Treat such configured types as roots so they get traversed for references.

Reviewed By: thezhangwei

Differential Revision: D70284056

fbshipit-source-id: 85623a14f08839c445a4088790d30eef6f4f84dc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants