- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
43 lines
1.8 KiB
Java
43 lines
1.8 KiB
Java
package com.fyber.inneractive.sdk.network;
|
|
|
|
import android.content.Context;
|
|
import android.graphics.Bitmap;
|
|
import android.graphics.BitmapFactory;
|
|
import com.fyber.inneractive.sdk.util.IAlog;
|
|
import java.io.InputStream;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.concurrent.atomic.AtomicInteger;
|
|
import org.apache.http.protocol.HTTP;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class h0 extends g0<Bitmap> {
|
|
public h0(com.fyber.inneractive.sdk.ui.a aVar, Context context, com.fyber.inneractive.sdk.cache.b bVar) {
|
|
super(aVar, context, bVar);
|
|
}
|
|
|
|
/* JADX WARN: Type inference failed for: r1v0 */
|
|
/* JADX WARN: Type inference failed for: r1v1, types: [T, android.graphics.Bitmap] */
|
|
/* JADX WARN: Type inference failed for: r1v2 */
|
|
@Override // com.fyber.inneractive.sdk.network.g0, com.fyber.inneractive.sdk.network.c0
|
|
public final b0 a(j jVar, Map<String, List<String>> map, int i) throws Exception {
|
|
b0 b0Var = new b0();
|
|
try {
|
|
InputStream inputStream = jVar.c;
|
|
List<String> list = map != null ? map.get(HTTP.CONTENT_LEN) : null;
|
|
int a = list != null ? com.fyber.inneractive.sdk.util.t.a(list.get(0), -1) : -1;
|
|
AtomicInteger atomicInteger = new AtomicInteger(0);
|
|
?? decodeStream = atomicInteger.get() == a ? BitmapFactory.decodeStream(new com.fyber.inneractive.sdk.util.h0(inputStream, atomicInteger)) : 0;
|
|
if (decodeStream != 0) {
|
|
String a2 = com.fyber.inneractive.sdk.util.i0.a((Bitmap) decodeStream);
|
|
b0Var.a = decodeStream;
|
|
b0Var.b = a2;
|
|
}
|
|
return b0Var;
|
|
} catch (Exception e) {
|
|
IAlog.a("failed parse cacheable network request", e, new Object[0]);
|
|
throw new a0(e);
|
|
}
|
|
}
|
|
}
|