@Override
    public void cleanup() {
        if (data == null) {
            return;
        }
        try {
            close(data);
        } catch (IOException e) {
            if (Log.isLoggable(TAG, Log.VERBOSE)) {
                Log.v(TAG, "Failed to close data", e);
            }
        }

    }
An abstract class for obtaining data for an asset path using an {@link AssetManager}.

@param <T> The type of data obtained from the asset path (InputStream, FileDescriptor etc).
core/src/main/java/com/bumptech/glide/load/data/AssetPathFetcher.java