Fixed
Status Update
Comments
uc...@google.com <uc...@google.com>
tn...@google.com <tn...@google.com>
tn...@google.com <tn...@google.com> #2
Is this fixed? I'm still seeing this issue with AGP 8.1.0-beta01 + Gradle 8.1
va...@gmail.com <va...@gmail.com> #3
The fix has not been landed.
Description
The following code:
Gets flagged by lint:
While yes, I do not call
close()
on the returnedInputStream
, I use okio to a buffered source, on which I call Kotlin'suse
which does call close and bubbles up all the way from the buffered source to the initialInputStream
.Would it be possible to detect that the return statement of
inputStream
is chained by something which is then using Kotlin'suse
which does call at the endclose
?