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

Change usage of LayoutInflater.from() to LayoutInflater.cloneInContext(). This is more correct and removes the need for overriding getSystemService() in our ContextWrapper, however, since users may be depending on this if they used LayoutInflater.from() leaving in that getSystemService() override. #3278

Closed
wants to merge 1 commit into from

Conversation

copybara-service[bot]
Copy link

Change usage of LayoutInflater.from() to LayoutInflater.cloneInContext(). This is more correct and removes the need for overriding getSystemService() in our ContextWrapper, however, since users may be depending on this if they used LayoutInflater.from() leaving in that getSystemService() override.

Fixes #3222.

RELNOTES=Fix #3222. Generated fragment code previously would cause a Lint issue around LayoutInflater.from().

…t(). This is more correct and removes the need for overriding getSystemService() in our ContextWrapper, however, since users may be depending on this if they used LayoutInflater.from() leaving in that getSystemService() override.

Fixes #3222.

RELNOTES=Fix #3222. Generated fragment code previously would cause a Lint issue around LayoutInflater.from().
PiperOrigin-RevId: 430493436
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant