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;
|
|
|
|
/* compiled from: DefaultCacheKeyFactory */
|
|
|
|
public class n implements i {
|
|
|
|
public static n a;
|
|
|
|
|
|
|
|
public CacheKey a(ImageRequest imageRequest, Object obj) {
|
2021-12-17 21:59:34 +00:00
|
|
|
return new b(imageRequest.c.toString(), imageRequest.i, imageRequest.j, imageRequest.h, 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;
|
|
|
|
CacheKey cacheKey;
|
|
|
|
b bVar = imageRequest.q;
|
|
|
|
if (bVar != null) {
|
|
|
|
CacheKey postprocessorCacheKey = bVar.getPostprocessorCacheKey();
|
|
|
|
str = bVar.getClass().getName();
|
|
|
|
cacheKey = postprocessorCacheKey;
|
|
|
|
} else {
|
|
|
|
cacheKey = null;
|
|
|
|
str = null;
|
|
|
|
}
|
2021-12-17 21:59:34 +00:00
|
|
|
return new b(imageRequest.c.toString(), imageRequest.i, imageRequest.j, imageRequest.h, cacheKey, str, obj);
|
2021-07-24 02:37:17 +00:00
|
|
|
}
|
|
|
|
}
|