discord-jadx/app/src/main/java/b/f/j/c/n.java

33 lines
1.0 KiB
Java

package b.f.j.c;
import b.f.b.a.f;
import b.f.j.q.b;
import com.facebook.cache.common.CacheKey;
import com.facebook.imagepipeline.request.ImageRequest;
/* compiled from: DefaultCacheKeyFactory.java */
/* loaded from: classes2.dex */
public class n implements i {
public static n a;
public CacheKey a(ImageRequest imageRequest, Object obj) {
return new b(imageRequest.c.toString(), imageRequest.j, imageRequest.k, imageRequest.i, null, null, obj);
}
public CacheKey b(ImageRequest imageRequest, Object obj) {
return new f(imageRequest.c.toString());
}
public CacheKey c(ImageRequest imageRequest, Object obj) {
String str;
b bVar = imageRequest.f2897s;
CacheKey cacheKey = null;
if (bVar != null) {
cacheKey = bVar.getPostprocessorCacheKey();
str = bVar.getClass().getName();
} else {
str = null;
}
return new b(imageRequest.c.toString(), imageRequest.j, imageRequest.k, imageRequest.i, cacheKey, str, obj);
}
}