File tree 2 files changed +1
-13
lines changed
library/src/main/java/com/bumptech/glide
2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -487,14 +487,6 @@ public GlideBuilder setImageDecoderEnabledForBitmaps(boolean isEnabled) {
487
487
return this ;
488
488
}
489
489
490
- /** This is an experimental method, it may be removed or changed at any future version. */
491
- public GlideBuilder setEnableImageDecoderForAnimatedWebp (
492
- boolean enableImageDecoderForAnimatedWebp ) {
493
- glideExperimentsBuilder .update (
494
- new EnableImageDecoderForAnimatedWebp (), enableImageDecoderForAnimatedWebp );
495
- return this ;
496
- }
497
-
498
490
void setRequestManagerFactory (@ Nullable RequestManagerFactory factory ) {
499
491
this .requestManagerFactory = factory ;
500
492
}
@@ -606,8 +598,6 @@ private WaitForFramesAfterTrimMemory() {}
606
598
607
599
static final class EnableImageDecoderForBitmaps implements Experiment {}
608
600
609
- static final class EnableImageDecoderForAnimatedWebp implements Experiment {}
610
-
611
601
/** See {@link #setLogRequestOrigins(boolean)}. */
612
602
public static final class LogRequestOrigins implements Experiment {}
613
603
Original file line number Diff line number Diff line change 12
12
import android .os .ParcelFileDescriptor ;
13
13
import androidx .annotation .Nullable ;
14
14
import androidx .tracing .Trace ;
15
- import com .bumptech .glide .GlideBuilder .EnableImageDecoderForAnimatedWebp ;
16
15
import com .bumptech .glide .GlideBuilder .EnableImageDecoderForBitmaps ;
17
16
import com .bumptech .glide .gifdecoder .GifDecoder ;
18
17
import com .bumptech .glide .load .ImageHeaderParser ;
@@ -164,8 +163,7 @@ private static void initializeDefaults(
164
163
streamBitmapDecoder = new StreamBitmapDecoder (downsampler , arrayPool );
165
164
}
166
165
167
- if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .P
168
- && experiments .isEnabled (EnableImageDecoderForAnimatedWebp .class )) {
166
+ if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .P ) {
169
167
registry .append (
170
168
Registry .BUCKET_ANIMATION ,
171
169
InputStream .class ,
You can’t perform that action at this time.
0 commit comments