2021-12-17 22:01:24 +00:00
|
|
|
package b.f.j.c;
|
2021-08-09 22:50:52 +00:00
|
|
|
|
2021-12-17 22:01:24 +00:00
|
|
|
import b.f.b.a.f;
|
|
|
|
import b.f.j.q.b;
|
2021-08-09 22:50:52 +00:00
|
|
|
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) {
|
2022-01-17 16:29:36 +00:00
|
|
|
return new b(imageRequest.c.toString(), imageRequest.j, imageRequest.k, imageRequest.i, null, null, obj);
|
2021-08-09 22:50:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public CacheKey b(ImageRequest imageRequest, Object obj) {
|
2021-12-17 22:01:24 +00:00
|
|
|
return new f(imageRequest.c.toString());
|
2021-08-09 22:50:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public CacheKey c(ImageRequest imageRequest, Object obj) {
|
|
|
|
String str;
|
|
|
|
CacheKey cacheKey;
|
2022-01-28 22:21:24 +00:00
|
|
|
b bVar = imageRequest.f2874s;
|
2021-08-09 22:50:52 +00:00
|
|
|
if (bVar != null) {
|
|
|
|
CacheKey postprocessorCacheKey = bVar.getPostprocessorCacheKey();
|
|
|
|
str = bVar.getClass().getName();
|
|
|
|
cacheKey = postprocessorCacheKey;
|
|
|
|
} else {
|
|
|
|
cacheKey = null;
|
|
|
|
str = null;
|
|
|
|
}
|
2022-01-17 16:29:36 +00:00
|
|
|
return new b(imageRequest.c.toString(), imageRequest.j, imageRequest.k, imageRequest.i, cacheKey, str, obj);
|
2021-08-09 22:50:52 +00:00
|
|
|
}
|
|
|
|
}
|