Idle Egg Factory v2.1.5版本的 MD5 值为:7d2ba6677008ca521af0101bb927d72a
以下内容为反编译后的 FyberReportAdActivity.java 源代码,内容仅作参考
package com.fyber.inneractive.sdk.activities;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.ViewGroup;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.widget.FrameLayout;
import com.fyber.inneractive.sdk.R;
import com.fyber.inneractive.sdk.util.IAlog;
import com.safedk.android.analytics.brandsafety.BrandSafetyUtils;
import com.safedk.android.analytics.brandsafety.DetectTouchUtils;
import com.safedk.android.internal.partials.FyberNetworkBridge;
import com.safedk.android.utils.Logger;
public class FyberReportAdActivity extends Activity {
public static com.fyber.inneractive.sdk.flow.d b;
public WebView f3533a;
public static void disableWebviewZoomControls(WebView webView) {
webView.getSettings().setSupportZoom(true);
webView.getSettings().setBuiltInZoomControls(true);
webView.getSettings().setDisplayZoomControls(false);
}
public static void safedk_Context_startActivity_97cb3195734cf5c9cc3418feeafa6dd6(Context p0, Intent p1) {
Logger.d("SafeDK-Special|SafeDK: Call> Landroid/content/Context;->startActivity(Landroid/content/Intent;)V");
if (p1 == null) {
return;
}
BrandSafetyUtils.detectAdClick(p1, com.safedk.android.utils.f.p);
p0.startActivity(p1);
}
public static void start(Context context, com.fyber.inneractive.sdk.flow.d dVar) {
b = dVar;
try {
safedk_Context_startActivity_97cb3195734cf5c9cc3418feeafa6dd6(context, new Intent(context, (Class<?>) FyberReportAdActivity.class));
} catch (Exception e) {
IAlog.a("failed starting fyber report ad activity", e, new Object[0]);
}
}
public final ViewGroup a() {
WebView webView;
FrameLayout frameLayout = new FrameLayout(this);
try {
webView = new WebView(this);
webView.setId(R.id.inneractive_webview_report_ad);
WebSettings settings = webView.getSettings();
settings.setJavaScriptEnabled(true);
settings.setSupportZoom(true);
settings.setBuiltInZoomControls(true);
settings.setUseWideViewPort(true);
settings.setLoadWithOverviewMode(true);
disableWebviewZoomControls(webView);
webView.setWebViewClient(new a(this));
FyberNetworkBridge.webviewLoadUrl(webView, "https://cdn2.inner-active.mobi/client/fyber-i-icon/index.html");
} catch (Exception unused) {
IAlog.b("failed creating webivew for report ad", new Object[0]);
finish();
webView = null;
}
this.f3533a = webView;
frameLayout.addView(webView, -1, -1);
return frameLayout;
}
@Override
public boolean dispatchTouchEvent(MotionEvent me) {
DetectTouchUtils.activityOnTouch(com.safedk.android.utils.f.p, me);
return super.dispatchTouchEvent(me);
}
@Override
public void onCreate(Bundle bundle) {
getWindow().requestFeature(2);
getWindow().setFeatureInt(2, -1);
super.onCreate(bundle);
try {
setContentView(a());
} catch (Exception e) {
IAlog.a("failed creating fyber report ad activity", e, new Object[0]);
finish();
}
}
@Override
public void onDestroy() {
WebView webView = this.f3533a;
if (webView != null) {
webView.destroy();
this.f3533a = null;
}
b = null;
super.onDestroy();
}
@Override
public void onDetachedFromWindow() {
super.onDetachedFromWindow();
setVisible(false);
}
}