Weather Tracker v1.0.0版本的 MD5 值为:3edef27647e42a8ea0e7c0d2dbf56f97
以下内容为反编译后的 b6.java 源代码,内容仅作参考
package com.my.target;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.fyber.inneractive.sdk.external.InneractiveMediationDefs;
import com.mbridge.msdk.foundation.entity.CampaignEx;
import com.my.target.nativeads.banners.NativeBanner;
import com.my.target.nativeads.banners.NativePromoBanner;
import org.json.JSONException;
import org.json.JSONObject;
public final class b6 {
@Nullable
public static String a(@NonNull String str, @NonNull String str2, @Nullable String str3, @Nullable String str4, @Nullable String str5, @Nullable String str6, @Nullable String str7, @Nullable String str8, float f, int i, boolean z, @NonNull Context context) {
try {
JSONObject jSONObject = new JSONObject();
jSONObject.put("instance_id", m1.c().b(context));
jSONObject.put("network", str);
jSONObject.put("navigationType", str2);
if (a(str3)) {
jSONObject.put(CampaignEx.JSON_KEY_TITLE, str3);
}
if (a(str4)) {
jSONObject.put("ctaText", str4);
}
if (a(str5)) {
jSONObject.put("domain", str5);
}
if (a(str6)) {
jSONObject.put("ageRestrictions", str6);
}
if (a(str7)) {
jSONObject.put("disclaimer", str7);
}
if (f > 0.0f) {
jSONObject.put(CampaignEx.JSON_KEY_STAR, String.valueOf(f));
}
if (i > 0) {
jSONObject.put("votes", String.valueOf(i));
}
if (a(str8)) {
jSONObject.put("description", str8);
}
if (z) {
jSONObject.put("hasVideo", InneractiveMediationDefs.SHOW_HOUSE_AD_YES);
}
return jSONObject.toString();
} catch (JSONException unused) {
return null;
}
}
public static void a(@Nullable String str, @NonNull Context context) {
if (str == null) {
return;
}
v1.a().a("https://ad.mail.ru/mobile/adcontext", i1.b(str), context);
}
public static boolean a(@Nullable String str) {
return str != null && str.length() > 0;
}
public static void b(@NonNull final String str, @NonNull final NativeBanner nativeBanner, @NonNull final Context context) {
c0.b(new Runnable() {
@Override
public final void run() {
b6.a(b6.a(str, r1.getNavigationType(), r1.getTitle(), r1.getCtaText(), r1.getDomain(), r1.getAgeRestrictions(), r1.getDisclaimer(), r1.getDescription(), r1.getRating(), nativeBanner.getVotes(), false, r2), context);
}
});
}
public static void b(@NonNull final String str, @NonNull final NativePromoBanner nativePromoBanner, @NonNull final Context context) {
c0.b(new Runnable() {
@Override
public final void run() {
b6.a(b6.a(str, r1.getNavigationType(), r1.getTitle(), r1.getCtaText(), r1.getDomain(), r1.getAgeRestrictions(), r1.getDisclaimer(), r1.getDescription(), r1.getRating(), r1.getVotes(), nativePromoBanner.hasVideo(), r2), context);
}
});
}
}