-
Notifications
You must be signed in to change notification settings - Fork 13
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
False positive on DeprecatedCall for WebView constructor #268
Comments
Maybe it's confused because there is a different constructor that is deprecated?
|
ah, thanks for the report. Maybe we're not resolving the correct constructor from the callsite |
Also getting similar stuff in media3
We're using latest on both: media3 1.3.1 and slack lint 0.7.3 |
I think this is a bug in lint, we're just using their |
We're not ready to update to agp 8.7 yet, Ladybug is too unstable. I'll try again in a couple months and report back |
You can update lint separately from agp fwiw |
Instructions for the above ^^ https://googlesamples.github.io/android-custom-lint-rules/usage/newer-lint.md.html |
I updated repro repo with new agp. https://github.com/kozaxinan/lint-investigation |
Could you file an issue on the Android lint issue tracker? At this point it's not really something we can control, it appears lint is reporting the wrong overload |
I reported to Google. https://issuetracker.google.com/issues/371686443 |
As far as I can tell, WebView is not actually deprecated, but slack-lint is claiming that it is. Maybe something wrong with the annotation detector?
Repro project: https://github.com/edenman/doggifs/compare/edenman/webview-deprecated?expand=1
The text was updated successfully, but these errors were encountered: