Cyber Surfer v5.2.5版本的 MD5 值为:db13c5fce988de393e52d2679f934b22
以下内容为反编译后的 FyberCreativeInfo.java 源代码,内容仅作参考
package com.safedk.android.analytics.brandsafety.creatives.infos;
import android.os.Bundle;
import android.text.TextUtils;
import android.webkit.MimeTypeMap;
import com.safedk.android.analytics.brandsafety.BrandSafetyUtils;
import com.safedk.android.utils.Logger;
import com.safedk.android.utils.annotations.AdNetworkIdentifier;
import com.safedk.android.utils.h;
import java.util.Arrays;
import java.util.List;
@AdNetworkIdentifier(packageName = h.p)
public class FyberCreativeInfo extends CreativeInfo {
private static final String Y = "FyberCreativeInfo";
private static final String aa = "alternative_click_url";
private static final List<String> ab = Arrays.asList("gif", "jpg", "jpeg", "png");
private static final List<String> ac = Arrays.asList("www.serveroute.com/log_string", "column=", "line=", "ad_exchange=inneractive&mraid_version=");
private static final long serialVersionUID = -5726627304425536096L;
private String ad;
private String ag;
public FyberCreativeInfo(String str, String str2, String str3, String str4, String str5, String str6, BrandSafetyUtils.AdType adType, String str7, String str8, String str9, String str10, String str11, String str12) {
super(adType, h.p, str, str2, str4, str5, "");
this.K = str7;
Logger.d(Y, "FyberCreativeInfo ctor started");
o(str6);
this.ad = str3;
this.Q = str8;
this.ar = str9;
this.aX = str10;
this.ag = str11;
e(str12);
}
public static boolean a(String str) {
String fileExtensionFromUrl = MimeTypeMap.getFileExtensionFromUrl(str);
Logger.d(Y, "extension: " + fileExtensionFromUrl + " for url: " + str);
if (ab.contains(fileExtensionFromUrl)) {
Logger.d(Y, "checking for tracking url pattern, extension: " + fileExtensionFromUrl + " for url: " + str);
if (str.indexOf("?") > 0) {
return true;
}
}
return false;
}
public String a() {
return this.ad;
}
public String b() {
return this.ag;
}
@Override
public void b(List<String> list) {
Logger.d(Y, "classifyPrefetchUrl started, urlList=" + list);
if (list != null) {
for (String str : list) {
String B = B(str);
boolean z = false;
if (!TextUtils.isEmpty(B)) {
if (a(B)) {
v(B);
z = true;
} else if (b(B)) {
x(B);
z = true;
} else if (u(B) && !B.equals(K())) {
v(B);
z = true;
}
if (!z) {
Logger.d(Y, "classifyPrefetchUrl url is unclassified and will be dropped : " + B);
}
}
}
}
}
@Override
public boolean c() {
return false;
}
@Override
public Bundle d() {
Bundle d = super.d();
if (!TextUtils.isEmpty(this.ad)) {
d.putString("campaign_id", this.ad);
}
if (!TextUtils.isEmpty(this.ag)) {
d.putString(aa, this.ag);
}
return d;
}
}