package com.bumptech.glide.load.resource.transcode; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import com.bumptech.glide.load.Options; import com.bumptech.glide.load.engine.Resource; import com.bumptech.glide.load.resource.bitmap.LazyBitmapDrawableResource; import com.bumptech.glide.util.Preconditions; /* loaded from: classes.dex */ public class BitmapDrawableTranscoder implements ResourceTranscoder { private final Resources a; public BitmapDrawableTranscoder(Resources resources) { Preconditions.a(resources); this.a = resources; } @Override // com.bumptech.glide.load.resource.transcode.ResourceTranscoder public Resource a(Resource resource, Options options) { return LazyBitmapDrawableResource.a(this.a, resource); } }