Idle Tower v2.48版本的 MD5 值为:56f20496f6a85726b376356ed2ecee23
以下内容为反编译后的 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.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;
public class FyberReportAdActivity extends Activity {
public static com.fyber.inneractive.sdk.flow.e b;
public WebView f3556a;
public static void disableWebviewZoomControls(WebView webView) {
webView.getSettings().setSupportZoom(true);
webView.getSettings().setBuiltInZoomControls(true);
webView.getSettings().setDisplayZoomControls(false);
}
public static void start(Context context, com.fyber.inneractive.sdk.flow.e eVar) {
b = eVar;
try {
context.startActivity(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));
webView.loadUrl("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.f3556a = webView;
frameLayout.addView(webView, -1, -1);
return frameLayout;
}
@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.f3556a;
if (webView != null) {
webView.destroy();
this.f3556a = null;
}
b = null;
super.onDestroy();
}
@Override
public void onDetachedFromWindow() {
super.onDetachedFromWindow();
setVisible(false);
}
}