Fixed
Status Update
Comments
di...@gmail.com <di...@gmail.com> #2
Actually I believe it would throw a runtime error, not just be redundant:
if (mRecycled) {
throw new RuntimeException(toString() + " recycled twice!");
}
ga...@google.com <ga...@google.com>
gh...@google.com <gh...@google.com> #3
Internal note: looks related to Change I39727bc67
gh...@google.com <gh...@google.com>
gh...@google.com <gh...@google.com> #4
This will be fixed by Change I9baebec66991dd308edda2ce66f1225d25037644 in an upcoming release.
Thank you for the report!
Description
Lint "AutoCloseable used without 'try'-with-resources" and "This TypedArray should be recycled after use with #recycle()" conflict.
Example:
Lint warning: AutoCloseable used without 'try'-with-resources
Lint warning: This TypedArray should be recycled after use with #recycle()
This fixes both lints, but is redundant: