Open edenman opened 5 months ago
Maybe it's confused because there is a different constructor that is deprecated?
@Deprecated
public WebView(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr,
boolean privateBrowsing)
ah, thanks for the report. Maybe we're not resolving the correct constructor from the callsite
Also getting similar stuff in media3
Error: androidx.media3.common.MediaItem.fromUri is deprecated; consider using an alternative. [DeprecatedCall from slack-lint]
HlsMediaSource.Factory(dataSourceFactory).createMediaSource(MediaItem.fromUri(newVariant.url))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
We're using latest on both: media3 1.3.1 and slack lint 0.7.3
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