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 logging in MaterialThemeFromMdcTheme #20

Merged
merged 1 commit into from
Jun 5, 2020
Merged

Conversation

chrisbanes
Copy link
Contributor

@chrisbanes chrisbanes commented Jun 5, 2020

Currently we use a reflective framework call to Theme.getKey() to use a key for remembering the result. That doesn't work on places where the SDK greylist is in operation, and we currently log every time on those API levels.

This commit fixes that by going back to a traditional reflective call setup, and removing all logging.

Currently we use a reflective framework call to Theme.getKey()
to use a key for remembering the result. That doesn't work on
places where the SDK greylist is in operation, and we currently
log every time on those API levels.

This commit fixes that by going back to a traditional reflective
call setup, and removing all logging.
@chrisbanes chrisbanes merged commit 38f2e0b into master Jun 5, 2020
@chrisbanes chrisbanes deleted the cb/reflection-error branch June 5, 2020 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants