Relax the assertion in Desugar for checking the calls to $closeResource(...).
It is possible that $closeResource(...) is not used as the calls to it might
be eliminated by some optimization tools, such as Proguard.

RELNOTES: n/a.
PiperOrigin-RevId: 193262552
GitOrigin-RevId: 1a2ab6d54e2a8749549f41055cd66f3f6dfea4cc
Change-Id: Ifdbd7b47132b541ecfd831d2a7b83d76853ec206
3 files changed
tree: bcfe14e5141434ac7fc753ddaaa6ec5f4e31ecb0
  1. java/
  2. test/