From e58802e60b36ba76ece309a2c00fb66226498655 Mon Sep 17 00:00:00 2001 From: Vignesh Venkatasubramanian Date: Thu, 23 Feb 2023 15:58:15 -0800 Subject: [PATCH] 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 --- .../glide/load/resource/drawable/AnimatedImageDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/com/bumptech/glide/load/resource/drawable/AnimatedImageDecoder.java b/library/src/main/java/com/bumptech/glide/load/resource/drawable/AnimatedImageDecoder.java index c78b1d4f76..ec642ce0ec 100644 --- a/library/src/main/java/com/bumptech/glide/load/resource/drawable/AnimatedImageDecoder.java +++ b/library/src/main/java/com/bumptech/glide/load/resource/drawable/AnimatedImageDecoder.java @@ -73,7 +73,7 @@ Resource decode(@NonNull Source source, int width, int height, @NonNul source, new DefaultOnHeaderDecodedListener(width, height, options)); if (!(decoded instanceof AnimatedImageDrawable)) { throw new IOException( - "Received unexpected drawable type for animated webp, failing: " + decoded); + "Received unexpected drawable type for animated image, failing: " + decoded); } return new AnimatedImageDrawableResource((AnimatedImageDrawable) decoded); }