正在查看: MX Player v1.97.8 应用的 y2.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: MX Player v1.97.8 应用的 y2.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.inmobi.media;
import androidx.annotation.NonNull;
import com.inmobi.commons.core.configs.Config;
import java.util.Iterator;
import java.util.Map;
import kotlin.jvm.JvmOverloads;
import kotlin.text.StringsKt;
import org.jetbrains.annotations.NotNull;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public final class y2 extends ea {
@NotNull
public static final a C = new a();
public final int A;
@NotNull
public final String B;
@NotNull
public final Map<String, Config> y;
public final int z;
public static final class a {
public static final String a(a aVar, Map map, String str, boolean z) {
a aVar2 = y2.C;
if (map.get("root") == null) {
if (str == null) {
throw new NullPointerException("null cannot be cast to non-null type kotlin.CharSequence");
}
if (StringsKt.Z(str).toString().length() != 0) {
return str;
}
}
return "https://config.inmobi.com/config-server/v1/config/secure.cfg";
}
}
@JvmOverloads
public y2(@NotNull Map<String, Config> map, @NotNull ce ceVar, @NotNull String str, int i, int i2, boolean z, boolean z2, @NonNull @NotNull String str2) {
super("POST", a.a(C, map, str, z), ceVar, z2, null, "application/x-www-form-urlencoded", false, 64);
this.y = map;
this.z = i;
this.A = i2;
this.B = str2;
}
@Override
public void f() {
String str;
this.u = false;
super.f();
Map<String, String> map = this.k;
if (map != null) {
v2 v2Var = new v2();
try {
JSONArray jSONArray = new JSONArray();
Iterator<T> it = this.y.entrySet().iterator();
while (it.hasNext()) {
Map.Entry entry = (Map.Entry) it.next();
JSONObject jSONObject = new JSONObject();
jSONObject.put("n", entry.getKey());
jSONObject.put("t", v2Var.a((String) entry.getKey(), ((Config) entry.getValue()).getAccountId$media_release()));
jSONArray.put(jSONObject);
}
str = jSONArray.toString();
} catch (JSONException unused) {
str = "";
}
map.put("p", str);
}
Map<String, String> map2 = this.k;
if (map2 == null) {
return;
}
map2.put("im-accid", this.B);
}
@NotNull
public final Map<String, Config> g() {
return this.y;
}
}