Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
package com.vungle.ads.internal.network.converters;
import java.io.IOException;
/* loaded from: classes4.dex */
public interface Converter<In, Out> {
Out convert(In in) throws IOException;
}

View File

@@ -0,0 +1,15 @@
package com.vungle.ads.internal.network.converters;
import okhttp3.ResponseBody;
/* loaded from: classes4.dex */
public final class EmptyResponseConverter implements Converter<ResponseBody, Void> {
@Override // com.vungle.ads.internal.network.converters.Converter
public Void convert(ResponseBody responseBody) {
if (responseBody == null) {
return null;
}
responseBody.close();
return null;
}
}

View File

@@ -0,0 +1,66 @@
package com.vungle.ads.internal.network.converters;
import java.io.IOException;
import kotlin.Unit;
import kotlin.io.CloseableKt;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.reflect.KType;
import kotlinx.serialization.SerializersKt;
import kotlinx.serialization.json.Json;
import kotlinx.serialization.json.JsonBuilder;
import kotlinx.serialization.json.JsonKt;
import okhttp3.ResponseBody;
/* loaded from: classes4.dex */
public final class JsonConverter<E> implements Converter<ResponseBody, E> {
public static final Companion Companion = new Companion(null);
private static final Json json = JsonKt.Json$default((Json) null, new Function1() { // from class: com.vungle.ads.internal.network.converters.JsonConverter$Companion$json$1
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Object invoke(Object obj) {
invoke((JsonBuilder) obj);
return Unit.INSTANCE;
}
public final void invoke(JsonBuilder Json) {
Intrinsics.checkNotNullParameter(Json, "$this$Json");
Json.setIgnoreUnknownKeys(true);
Json.setEncodeDefaults(true);
Json.setExplicitNulls(false);
Json.setAllowStructuredMapKeys(true);
}
}, 1, (Object) null);
private final KType kType;
public JsonConverter(KType kType) {
Intrinsics.checkNotNullParameter(kType, "kType");
this.kType = kType;
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
@Override // com.vungle.ads.internal.network.converters.Converter
public E convert(ResponseBody responseBody) throws IOException {
if (responseBody != null) {
try {
String string = responseBody.string();
if (string != null) {
E e = (E) json.decodeFromString(SerializersKt.serializer(Json.Default.getSerializersModule(), this.kType), string);
CloseableKt.closeFinally(responseBody, null);
return e;
}
} finally {
}
}
CloseableKt.closeFinally(responseBody, null);
return null;
}
}