Skip to content

Commit e58802e

Browse files
vigneshvgglide-copybara-robot
authored andcommitted
Update error message in AnimatedImageDecoder
Replace an occurrence of 'webp' with generic 'image' since the class supports more than just webp now. PiperOrigin-RevId: 511910050
1 parent f73f003 commit e58802e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/bumptech/glide/load/resource/drawable/AnimatedImageDecoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Resource<Drawable> decode(@NonNull Source source, int width, int height, @NonNul
7373
source, new DefaultOnHeaderDecodedListener(width, height, options));
7474
if (!(decoded instanceof AnimatedImageDrawable)) {
7575
throw new IOException(
76-
"Received unexpected drawable type for animated webp, failing: " + decoded);
76+
"Received unexpected drawable type for animated image, failing: " + decoded);
7777
}
7878
return new AnimatedImageDrawableResource((AnimatedImageDrawable) decoded);
7979
}

0 commit comments

Comments
 (0)