@Override
        public Resource<File> decode(InputStream source, int width, int height) {
            throw new Error("You cannot decode a File from an InputStream by default,"
                    + " try either #diskCacheStratey(DiskCacheStrategy.SOURCE) to avoid this call or"
                    + " #decoder(ResourceDecoder) to replace this Decoder");
        }
An {@link DataLoadProvider} that provides encoders and decoders for for obtaining a
cache file from {@link InputStream} data.
core/src/main/java/com/bumptech/glide/load/resource/file/StreamFileDataLoadProvider.java