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

Use annotation to fix lint error #313

Merged
merged 1 commit into from
Mar 16, 2020
Merged

Use annotation to fix lint error #313

merged 1 commit into from
Mar 16, 2020

Conversation

yuhan6665
Copy link
Contributor

In #287, I fixed the crash issue in Android version older than L. However, I made a mistake where the init code fail lint check.
Since I already use lazy init for these variables, we don't need to use if statement to check. We can simplify and just use annotation to suppress the lint warning.
I will make sure I run full build in the future. :)

@2dust 2dust merged commit 9847546 into 2dust:master Mar 16, 2020
@yuhan6665 yuhan6665 deleted the lint-fix branch March 16, 2020 13:49
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