- 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
93 lines
2.2 KiB
Java
93 lines
2.2 KiB
Java
package com.ironsource;
|
|
|
|
import android.content.Context;
|
|
import android.text.TextUtils;
|
|
import com.ironsource.sdk.utils.SDKUtils;
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class vf implements td {
|
|
private static Map<String, Object> a = new HashMap();
|
|
|
|
public static class b {
|
|
String a;
|
|
String b;
|
|
String c;
|
|
Context d;
|
|
String e;
|
|
|
|
public b a(Context context) {
|
|
this.d = context;
|
|
return this;
|
|
}
|
|
|
|
public b a(String str) {
|
|
this.b = str;
|
|
return this;
|
|
}
|
|
|
|
public vf a() {
|
|
return new vf(this);
|
|
}
|
|
|
|
public b b(String str) {
|
|
this.c = str;
|
|
return this;
|
|
}
|
|
|
|
public b c(String str) {
|
|
this.a = str;
|
|
return this;
|
|
}
|
|
|
|
public b d(String str) {
|
|
this.e = str;
|
|
return this;
|
|
}
|
|
}
|
|
|
|
private vf(b bVar) {
|
|
a(bVar);
|
|
a(bVar.d);
|
|
}
|
|
|
|
private void a(Context context) {
|
|
a.put(nb.e, s8.b(context));
|
|
a.put(nb.f, s8.d(context));
|
|
}
|
|
|
|
private void a(b bVar) {
|
|
Context context = bVar.d;
|
|
la b2 = la.b(context);
|
|
a.put(nb.j, SDKUtils.encodeString(b2.e()));
|
|
a.put(nb.k, SDKUtils.encodeString(b2.f()));
|
|
a.put(nb.l, Integer.valueOf(b2.a()));
|
|
a.put(nb.m, SDKUtils.encodeString(b2.d()));
|
|
a.put(nb.n, SDKUtils.encodeString(b2.c()));
|
|
a.put(nb.d, SDKUtils.encodeString(context.getPackageName()));
|
|
a.put(nb.g, SDKUtils.encodeString(bVar.b));
|
|
a.put("sessionid", SDKUtils.encodeString(bVar.a));
|
|
a.put(nb.b, SDKUtils.encodeString(SDKUtils.getSDKVersion()));
|
|
a.put(nb.o, nb.t);
|
|
a.put("origin", nb.q);
|
|
if (TextUtils.isEmpty(bVar.e)) {
|
|
return;
|
|
}
|
|
a.put(nb.i, SDKUtils.encodeString(bVar.e));
|
|
}
|
|
|
|
public static void a(String str) {
|
|
a.put(nb.e, SDKUtils.encodeString(str));
|
|
}
|
|
|
|
public static void b(String str) {
|
|
a.put(nb.f, SDKUtils.encodeString(str));
|
|
}
|
|
|
|
@Override // com.ironsource.td
|
|
public Map<String, Object> a() {
|
|
return a;
|
|
}
|
|
}
|