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

34 lines
1.1 KiB
Java

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