Remove suppress prefetch to bitmap
@@ -38,7 +38,6 @@ public class ImagePipelineExperiments {
private final WebpBitmapFactory.WebpErrorLogger mWebpErrorLogger;
private final boolean mDecodeCancellationEnabled;
private final WebpBitmapFactory mWebpBitmapFactory;
- private final boolean mSuppressBitmapPrefetching;
private final boolean mUseDownsamplingRatioForResizing;
private final boolean mUseBitmapPrepareToDraw;
private final int mBitmapPrepareToDrawMinSizeBytes;
@@ -64,7 +63,6 @@ public class ImagePipelineExperiments {
mWebpErrorLogger = builder.mWebpErrorLogger;
mDecodeCancellationEnabled = builder.mDecodeCancellationEnabled;
mWebpBitmapFactory = builder.mWebpBitmapFactory;
- mSuppressBitmapPrefetching = builder.mSuppressBitmapPrefetching;
mUseDownsamplingRatioForResizing = builder.mUseDownsamplingRatioForResizing;
mUseBitmapPrepareToDraw = builder.mUseBitmapPrepareToDraw;
mBitmapPrepareToDrawMinSizeBytes = builder.mBitmapPrepareToDrawMinSizeBytes;
@@ -149,7 +147,6 @@ public class ImagePipelineExperiments {
private WebpBitmapFactory.WebpErrorLogger mWebpErrorLogger;
private boolean mDecodeCancellationEnabled = false;
private WebpBitmapFactory mWebpBitmapFactory;
- private boolean mSuppressBitmapPrefetching = false;
private boolean mUseDownsamplingRatioForResizing = false;
private boolean mUseBitmapPrepareToDraw = false;
private int mBitmapPrepareToDrawMinSizeBytes = 0;
@@ -224,12 +221,6 @@ public class ImagePipelineExperiments {
return mConfigBuilder;
}
- public ImagePipelineConfig.Builder setSuppressBitmapPrefetching(
- boolean suppressBitmapPrefetching) {
- mSuppressBitmapPrefetching = suppressBitmapPrefetching;
- return mConfigBuilder;
- }
-
/**
* If enabled, the pipeline will call {@link android.graphics.Bitmap#prepareToDraw()} after
* decoding. This potentially reduces lag on Android N+ as this step now happens async when the
