docs: public AnimatedImageResult build() {
      try {
        return new AnimatedImageResult(this);
      } finally {
        CloseableReference.closeSafely(mPreviewBitmap);
        mPreviewBitmap = null;
        CloseableReference.closeSafely(mDecodedFrames);
        mDecodedFrames = null;
      }
    }