mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 20:18:36 +00:00
Allow images to be cached in the image editor.
This commit is contained in:
@@ -19,7 +19,6 @@ import android.renderscript.ScriptIntrinsicBlur;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.bumptech.glide.load.engine.DiskCacheStrategy;
|
||||
import com.bumptech.glide.request.RequestListener;
|
||||
import com.bumptech.glide.request.target.CustomTarget;
|
||||
import com.bumptech.glide.request.transition.Transition;
|
||||
@@ -200,7 +199,6 @@ public final class UriGlideRenderer implements SelectableRenderer {
|
||||
|
||||
return GlideApp.with(context)
|
||||
.asBitmap()
|
||||
.diskCacheStrategy(DiskCacheStrategy.NONE)
|
||||
.override(width, height)
|
||||
.centerInside()
|
||||
.addListener(bitmapRequestListener)
|
||||
|
||||
Reference in New Issue
Block a user