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

33 lines
1.0 KiB
Java
Raw Normal View History

2021-12-17 21:59:34 +00:00
package b.f.j.c;
2021-07-24 02:37:17 +00:00
2021-12-17 21:59:34 +00:00
import b.f.b.a.f;
import b.f.j.q.b;
2021-07-24 02:37:17 +00:00
import com.facebook.cache.common.CacheKey;
import com.facebook.imagepipeline.request.ImageRequest;
2022-03-07 09:34:54 +00:00
/* compiled from: DefaultCacheKeyFactory.java */
2022-04-04 09:20:14 +00:00
/* loaded from: classes2.dex */
2021-07-24 02:37:17 +00:00
public class n implements i {
public static n a;
public CacheKey a(ImageRequest imageRequest, Object obj) {
2022-01-13 08:07:50 +00:00
return new b(imageRequest.c.toString(), imageRequest.j, imageRequest.k, imageRequest.i, null, null, obj);
2021-07-24 02:37:17 +00:00
}
public CacheKey b(ImageRequest imageRequest, Object obj) {
2021-12-17 21:59:34 +00:00
return new f(imageRequest.c.toString());
2021-07-24 02:37:17 +00:00
}
public CacheKey c(ImageRequest imageRequest, Object obj) {
String str;
2022-04-04 09:20:14 +00:00
b bVar = imageRequest.f2897s;
2022-03-07 09:34:54 +00:00
CacheKey cacheKey = null;
2021-07-24 02:37:17 +00:00
if (bVar != null) {
2022-03-07 09:34:54 +00:00
cacheKey = bVar.getPostprocessorCacheKey();
2021-07-24 02:37:17 +00:00
str = bVar.getClass().getName();
} else {
str = null;
}
2022-01-13 08:07:50 +00:00
return new b(imageRequest.c.toString(), imageRequest.j, imageRequest.k, imageRequest.i, cacheKey, str, obj);
2021-07-24 02:37:17 +00:00
}
}